diff options
author | somratpro <abdulmonnafsomrat@gmail.com> | 2020-08-04 07:43:35 +0300 |
---|---|---|
committer | somratpro <abdulmonnafsomrat@gmail.com> | 2020-08-04 07:43:35 +0300 |
commit | a6968a9a0c31a983dfeba0aff4887c9988b88301 (patch) | |
tree | d388e1c928f47f48773d511a12343a8d4fd9df40 /layouts | |
parent | 63e8bcb2b7b1182a866b186554713a98cfdefec9 (diff) |
modified section title for use long text
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/about.html | 2 | ||||
-rw-r--r-- | layouts/partials/blog.html | 9 | ||||
-rw-r--r-- | layouts/partials/contact.html | 7 | ||||
-rw-r--r-- | layouts/partials/portfolio.html | 2 | ||||
-rw-r--r-- | layouts/partials/pricing.html | 2 | ||||
-rw-r--r-- | layouts/partials/service.html | 2 | ||||
-rw-r--r-- | layouts/partials/skill.html | 2 | ||||
-rw-r--r-- | layouts/partials/team.html | 2 |
8 files changed, 14 insertions, 14 deletions
diff --git a/layouts/partials/about.html b/layouts/partials/about.html index 1fc7924..762c8ce 100644 --- a/layouts/partials/about.html +++ b/layouts/partials/about.html @@ -10,7 +10,7 @@ {{"<!-- section title -->" | safeHTML}} <div class="title text-center wow fadeIn" data-wow-duration="1500ms"> <h2> {{ with .title }} {{ index (split . " ") 0 | safeHTML }} {{ end }}<span class="color"> - {{ with .title }} {{ index (split . " ") 1 | safeHTML }} {{ end }} </span></h2> + {{ with .title }} {{ index (split . " ") 1 | safeHTML }} {{ end }} </span></h2> <div class="border-meghna"></div> </div> </div> diff --git a/layouts/partials/blog.html b/layouts/partials/blog.html index 8395db5..44467a9 100644 --- a/layouts/partials/blog.html +++ b/layouts/partials/blog.html @@ -6,8 +6,8 @@ <div class="col-lg-12"> {{"<!-- section title -->" | safeHTML}} <div class="title text-center wow fadeInDown"> - <h2>{{ with i18n "blogTitle" }} {{ index (split . " ") 0 | safeHTML }} {{ end }}<span class="color"> - {{ with i18n "blogTitle" }} {{ index (split . " ") 1 | safeHTML }} {{ end }}</span></h2> + <h2> {{ with i18n "blogTitle" }} {{ index (split . " ") 0 | safeHTML }} {{ end }}<span class="color"> + {{ with i18n "blogTitle" }} {{ index (split . " ") 1 | safeHTML }} {{ end }} </span></h2> <div class="border-meghna"></div> </div> </div> @@ -18,11 +18,10 @@ {{ end }} <div class="all-post text-center col-lg-12"> - <a class="btn btn-main" - href="{{ `blog` | absLangURL }}">{{ i18n "viewAllPost" }}</a> + <a class="btn btn-main" href="{{ `blog` | absLangURL }}">{{ i18n "viewAllPost" }}</a> </div> </div> </div> </section> {{"<!-- /blog -->" | safeHTML}} -{{ end }} +{{ end }}
\ No newline at end of file diff --git a/layouts/partials/contact.html b/layouts/partials/contact.html index 84f235f..8da82a5 100644 --- a/layouts/partials/contact.html +++ b/layouts/partials/contact.html @@ -10,7 +10,7 @@ {{"<!-- section title -->" | safeHTML}} <div class="title text-center wow fadeIn" data-wow-duration="500ms"> <h2>{{ with .title }} {{ index (split . " ") 0 | safeHTML }} {{ end }}<span class="color"> - {{ with .title }} {{ index (split . " ") 1 | safeHTML }} {{ end }}</span></h2> + {{ with .title }} {{ after (len (index (split . " ") 0)) . | safeHTML }} {{ end }}</span></h2> <div class="border-meghna"></div> </div> </div> @@ -51,7 +51,8 @@ <textarea rows="6" placeholder="{{ .message }}" class="form-control" name="message" id="message"></textarea> </div> <div id="cf-submit"> - <button type="submit" id="contact-submit" class="btn btn-transparent btn-block" value="{{ .submit }}">{{ .submit }}</button> + <button type="submit" id="contact-submit" class="btn btn-transparent btn-block" + value="{{ .submit }}">{{ .submit }}</button> </div> </form> </div> @@ -71,4 +72,4 @@ </section> {{"<!-- /contact -->" | safeHTML}} {{ end }} -{{ end }} +{{ end }}
\ No newline at end of file diff --git a/layouts/partials/portfolio.html b/layouts/partials/portfolio.html index a5e5578..fbb88ba 100644 --- a/layouts/partials/portfolio.html +++ b/layouts/partials/portfolio.html @@ -10,7 +10,7 @@ {{"<!-- section title -->" | safeHTML}} <div class="title text-center"> <h2>{{ with .title }} {{ index (split . " ") 0 | safeHTML }} {{ end }}<span class="color"> - {{ with .title }} {{ index (split . " ") 1 | safeHTML }} {{ end }}</span></h2> + {{ with .title }} {{ after (len (index (split . " ") 0)) . | safeHTML }} {{ end }}</span></h2> <div class="border-meghna"></div> </div> {{"<!-- /section title -->" | safeHTML}} diff --git a/layouts/partials/pricing.html b/layouts/partials/pricing.html index 078e7f1..37f5149 100644 --- a/layouts/partials/pricing.html +++ b/layouts/partials/pricing.html @@ -11,7 +11,7 @@ <div class="col-lg-12"> <div class="title text-center wow fadeInDown" data-wow-duration="500ms"> <h2>{{ with .title }} {{ index (split . " ") 0 | safeHTML }} {{ end }}<span class="color"> - {{ with .title }} {{ index (split . " ") 1 | safeHTML }} {{ end }}</span></h2> + {{ with .title }} {{ after (len (index (split . " ") 0)) . | safeHTML }} {{ end }}</span></h2> <div class="border-meghna"></div> </div> </div> diff --git a/layouts/partials/service.html b/layouts/partials/service.html index 2d97c97..055236e 100644 --- a/layouts/partials/service.html +++ b/layouts/partials/service.html @@ -10,7 +10,7 @@ {{"<!-- section title -->" | safeHTML }} <div class="title text-center wow fadeIn" data-wow-duration="500ms"> <h2>{{ with .title }} {{ index (split . " ") 0 | safeHTML }} {{ end }}<span class="color"> - {{ with .title }} {{ index (split . " ") 1 | safeHTML }} {{ end }} </span></h2> + {{ with .title }} {{ after (len (index (split . " ") 0)) . | safeHTML }} {{ end }}</span></h2> <div class="border-meghna"></div> </div> </div> diff --git a/layouts/partials/skill.html b/layouts/partials/skill.html index 9ca95ea..fa8bc3a 100644 --- a/layouts/partials/skill.html +++ b/layouts/partials/skill.html @@ -10,7 +10,7 @@ <div class="col-lg-12"> <div class="title text-center"> <h2>{{ with .title }} {{ index (split . " ") 0 | safeHTML }} {{ end }}<span class="color"> - {{ with .title }} {{ index (split . " ") 1 | safeHTML }} {{ end }} </span></h2> + {{ with .title }} {{ after (len (index (split . " ") 0)) . | safeHTML }} {{ end }}</span></h2> <div class="border-meghna"></div> </div> </div> diff --git a/layouts/partials/team.html b/layouts/partials/team.html index 8a42492..88201bd 100644 --- a/layouts/partials/team.html +++ b/layouts/partials/team.html @@ -10,7 +10,7 @@ {{"<!-- section title -->" | safeHTML}} <div class="title text-center wow fadeInUp" data-wow-duration="500ms"> <h2>{{ with .title }} {{ index (split . " ") 0 | safeHTML }} {{ end }}<span class="color"> - {{ with .title }} {{ index (split . " ") 1 | safeHTML }} {{ end }}</span></h2> + {{ with .title }} {{ after (len (index (split . " ") 0)) . | safeHTML }} {{ end }}</span></h2> <div class="border-meghna"></div> </div> </div> |