Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/themefisher/meghna-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsomratpro <abdulmonnafsomrat@gmail.com>2020-08-04 07:43:35 +0300
committersomratpro <abdulmonnafsomrat@gmail.com>2020-08-04 07:43:35 +0300
commita6968a9a0c31a983dfeba0aff4887c9988b88301 (patch)
treed388e1c928f47f48773d511a12343a8d4fd9df40 /layouts
parent63e8bcb2b7b1182a866b186554713a98cfdefec9 (diff)
modified section title for use long text
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/about.html2
-rw-r--r--layouts/partials/blog.html9
-rw-r--r--layouts/partials/contact.html7
-rw-r--r--layouts/partials/portfolio.html2
-rw-r--r--layouts/partials/pricing.html2
-rw-r--r--layouts/partials/service.html2
-rw-r--r--layouts/partials/skill.html2
-rw-r--r--layouts/partials/team.html2
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>