diff options
author | Murali Mohan Rath <murali@mmrath.com> | 2017-11-05 09:05:33 +0300 |
---|---|---|
committer | Murali Mohan Rath <murali@mmrath.com> | 2017-11-05 09:05:33 +0300 |
commit | 4718bd5bac5f5df49a6a1beda986dd382595b7b2 (patch) | |
tree | 68dc966c55cd67ed19abc7993e858523cad42fdb | |
parent | be9f4de7aa0beacd56b0c1e1b5c863a79aa04739 (diff) |
Fix duscuss alignment
-rw-r--r-- | layouts/_default/single.content.html | 2 | ||||
-rw-r--r-- | layouts/partials/content/h1-link-title.html | 2 | ||||
-rw-r--r-- | layouts/partials/content/h1-title.html | 2 | ||||
-rw-r--r-- | layouts/post/single.boot.html | 59 |
4 files changed, 34 insertions, 31 deletions
diff --git a/layouts/_default/single.content.html b/layouts/_default/single.content.html index c3fa3ff..e4758c3 100644 --- a/layouts/_default/single.content.html +++ b/layouts/_default/single.content.html @@ -1,3 +1,3 @@ -<div class="content"> +<div class="content pt-2"> {{ .Content }} </div> diff --git a/layouts/partials/content/h1-link-title.html b/layouts/partials/content/h1-link-title.html index d76e7fc..dd382f4 100644 --- a/layouts/partials/content/h1-link-title.html +++ b/layouts/partials/content/h1-link-title.html @@ -1 +1 @@ -<h1 class="post-title" >{{ partial "content/title-link" . }}</h1> +<h1 class="post-title mb-1" >{{ partial "content/title-link" . }}</h1> diff --git a/layouts/partials/content/h1-title.html b/layouts/partials/content/h1-title.html index a86affe..2f15bd7 100644 --- a/layouts/partials/content/h1-title.html +++ b/layouts/partials/content/h1-title.html @@ -1 +1 @@ -<h1 class="post-title">{{ partial "content/title" . }}</h1> +<h1 class="post-title mb-1">{{ partial "content/title" . }}</h1> diff --git a/layouts/post/single.boot.html b/layouts/post/single.boot.html index 1e70c35..21db0c6 100644 --- a/layouts/post/single.boot.html +++ b/layouts/post/single.boot.html @@ -1,30 +1,33 @@ <footer> - <!--navigation--> - {{ if .IsPage }} - {{ if or ( .NextInSection ) ( .PrevInSection ) }} - <nav><ul class="pagination"> - {{ if .PrevInSection }} - <li class="page-item"> - <a href="{{ .PrevInSection.Permalink }}" title="{{ .PrevInSection.Title }} " class="page-link"> - <span aria-hidden="true">←</span>{{ .Site.Data.Strings.previous }} - </a> - </li> - {{end}} - - {{ if .NextInSection }} - <li class="page-item"> - <a href="{{ .NextInSection.Permalink }}" title="{{ .NextInSection.Title }}" class="page-link"> - {{ .Site.Data.Strings.next }} <span aria-hidden="true">→</span> - </a> - </li> - {{end}} - </ul> </nav> - {{ end }} - {{ end }} - - <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> - {{ if ne .Site.DisqusShortname "" }} - {{ template "_internal/disqus.html" . }} - {{ end }} + <!--navigation--> + {{ if .IsPage }} + {{ if or ( .NextInSection ) ( .PrevInSection ) }} + <nav> + <ul class="pagination"> + {{ if .PrevInSection }} + <li class="page-item"> + <a href="{{ .PrevInSection.Permalink }}" title="{{ .PrevInSection.Title }} " class="page-link"> + <span aria-hidden="true">←</span>{{ .Site.Data.Strings.previous }} + </a> + </li> + {{end}} + {{ if .NextInSection }} + <li class="page-item"> + <a href="{{ .NextInSection.Permalink }}" title="{{ .NextInSection.Title }}" class="page-link"> + {{ .Site.Data.Strings.next }} + <span aria-hidden="true">→</span> + </a> + </li> + {{end}} + </ul> + </nav> + {{ end }} + {{ end }} + <div class="row"> + <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> + <div class="pt-4"> + {{ if ne .Site.DisqusShortname "" }} {{ template "_internal/disqus.html" . }} {{ end }} + </div> + </div> </div> -</footer> +</footer>
\ No newline at end of file |