Skip to content

Commit

Permalink
fix grid style bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
jesselau76 committed Oct 22, 2019
1 parent 3af40c5 commit dcc5fe8
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ <h4><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h4>

</header>

<<<<<<< HEAD

<div class="w3-container wraptext w3-white">
<code> {{ .Date.Format "2006/01/02" }} </code>

Expand All @@ -104,21 +104,8 @@ <h4><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h4>
</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>
Expand Down Expand Up @@ -155,10 +142,10 @@ <h4><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h4>
<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">&#10094; Previous</a>
<a href="{{ .URL }}" class="w3-btn w3-text-indigo w3-hover-green">&#10094; Previous</a>
{{- end }}
{{ with $paginator.Next -}}
<a href="{{ .Permalink }}" class="w3-btn w3-right w3-text-indigo w3-hover-green">Next &#10095;</a>
<a href="{{ .URL }}" class="w3-btn w3-right w3-text-indigo w3-hover-green">Next &#10095;</a>
{{- end }}
</div>
<nav class="w3-center w3-hide-small">{{ template "_internal/pagination.html" . }}</nav>
Expand Down

0 comments on commit dcc5fe8

Please sign in to comment.