diff options
author | jesselau76 <jesselau76@gmail.com> | 2019-10-22 08:57:14 +0300 |
---|---|---|
committer | jesselau76 <jesselau76@gmail.com> | 2019-10-22 08:57:14 +0300 |
commit | dcc5fe8cb4584cf5fe6f0ffe71545995be32776d (patch) | |
tree | 537f6b355e2462761d83aef90a48a2fb94a834f8 | |
parent | 3af40c529711cc5e2a978ebd7afe67cd8fd8a259 (diff) |
fix grid style bugs
-rw-r--r-- | layouts/_default/list.html | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index fb15e64..15d4a0b 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -90,7 +90,7 @@ </header> -<<<<<<< HEAD + <div class="w3-container wraptext w3-white"> <code> {{ .Date.Format "2006/01/02" }} </code> @@ -104,21 +104,8 @@ </p> </div> -======= - <div class="w3-container wraptext w3-white"> - <code> {{ .Date.Format "2006/01/02" }} </code> - - - {{ if gt (len .Summary) 200 }} - - <p>{{substr .Summary 0 200 }}...</p> - - - {{ end }} - - </div> ->>>>>>> dev + <footer > <a href="{{ .Permalink }}"><button class="w3-button w3-blue w3-block w3-hover-green">{{ T "readMore" }}</button></a> @@ -155,10 +142,10 @@ <div class="w3-bar w3-section w3-hide-large w3-hide-medium"> {{ with $paginator.Prev -}} - <a href="{{ .Permalink }}" class="w3-btn w3-text-indigo w3-hover-green">❮ Previous</a> + <a href="{{ .URL }}" class="w3-btn w3-text-indigo w3-hover-green">❮ Previous</a> {{- end }} {{ with $paginator.Next -}} - <a href="{{ .Permalink }}" class="w3-btn w3-right w3-text-indigo w3-hover-green">Next ❯</a> + <a href="{{ .URL }}" class="w3-btn w3-right w3-text-indigo w3-hover-green">Next ❯</a> {{- end }} </div> <nav class="w3-center w3-hide-small">{{ template "_internal/pagination.html" . }}</nav> |