Fixes
This commit is contained in:
parent
181171399a
commit
b8dda716d0
10 changed files with 119 additions and 44 deletions
|
@ -3,10 +3,10 @@
|
|||
<h1>Category: {{ .Title }}</h1>
|
||||
{{ range .Data.Pages -}}
|
||||
<li>
|
||||
<span>
|
||||
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
||||
<time class="pull-right post-list" datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}">{{ .Date.Format "Jan 2, 2006" }}</time>
|
||||
</span>
|
||||
<div class="flex">
|
||||
<a href="{{ .Permalink }}" class="truncate">{{ .Title }}</a>
|
||||
<time class="nowrap" datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}">{{ .Date.Format "Jan 2, 2006" }}</time>
|
||||
</div>
|
||||
</li>
|
||||
{{- end }}
|
||||
</ul>
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
<h1>{{ .Title }}</h1>
|
||||
{{ range .Data.Pages -}}
|
||||
<li>
|
||||
<span>
|
||||
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
||||
{{ if eq .Kind "page" }}
|
||||
<time class="pull-right post-list" datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}">{{ .Date.Format "Jan 2, 2006" }}</time>
|
||||
{{ end }}
|
||||
</span>
|
||||
<div class="flex">
|
||||
<a href="{{ .Permalink }}" class="truncate">{{ .Title }}</a>
|
||||
{{ if eq .Kind "page" }}
|
||||
<time class="nowrap" datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}">{{ .Date.Format "Jan 2, 2006" }}</time>
|
||||
{{ end }}
|
||||
</div>
|
||||
</li>
|
||||
{{- end }}
|
||||
</ul>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
{{ if ne .Type "page" -}}
|
||||
<div class="post-date">
|
||||
<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}">{{ .Date.Format "Jan 2, 2006" }}</time> · {{ .ReadingTime }} min read
|
||||
<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}">{{ .Date.Format "Jan 2, 2006" }}</time> <span class="readtime">· {{ .ReadingTime }} min read</span>
|
||||
</div>
|
||||
{{- end }}
|
||||
|
||||
|
@ -18,11 +18,12 @@
|
|||
{{ if (and (ne .Params.DisableShare true) (ne .Params.disable_share true)) -}}
|
||||
{{ partial "share.html" . }}
|
||||
{{- end }}
|
||||
|
||||
{{ if (and .Site.DisqusShortname (ne .Params.DisableComments true) (ne .Params.disable_comments true)) -}}
|
||||
<div class="comments">
|
||||
<h2>Comments</h2>
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
</div>
|
||||
{{- end }}
|
||||
</div>
|
||||
|
||||
{{ if (and .Site.DisqusShortname (ne .Params.DisableComments true) (ne .Params.disable_comments true)) -}}
|
||||
<h2>Comments</h2>
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
{{- end }}
|
||||
|
||||
{{- end }}
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
<h1>Tag: {{ .Title }}</h1>
|
||||
{{ range .Data.Pages -}}
|
||||
<li>
|
||||
<span>
|
||||
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
||||
<time class="pull-right post-list" datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}">{{ .Date.Format "Jan 2, 2006" }}</time>
|
||||
</span>
|
||||
<div class="flex">
|
||||
<a href="{{ .Permalink }}" class="truncate">{{ .Title }}</a>
|
||||
<time class="nowrap" datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}">{{ .Date.Format "Jan 2, 2006" }}</time>
|
||||
</div>
|
||||
</li>
|
||||
{{- end }}
|
||||
</ul>
|
||||
|
|
|
@ -3,12 +3,16 @@
|
|||
<div class="sidebar-about">
|
||||
{{ with .Site.Params.gravatar }}
|
||||
<div class="author-image">
|
||||
<img src="https://www.gravatar.com/avatar/{{md5 .}}?s=200&d=mp" class="img-circle img-headshot center" alt="Gravatar">
|
||||
<a href="{{ $.Site.BaseURL }}">
|
||||
<img src="https://www.gravatar.com/avatar/{{md5 .}}?s=200&d=mp" class="img-circle img-headshot center" alt="Gravatar">
|
||||
</a>
|
||||
</div>
|
||||
{{ else }}
|
||||
{{ with .Site.Params.profilePicture }}
|
||||
<div class="author-image">
|
||||
<img src="{{ . | relURL }}" class="img-circle img-headshot center" alt="Profile Picture">
|
||||
<a href="{{ $.Site.BaseURL }}">
|
||||
<img src="{{ . | relURL }}" class="img-circle img-headshot center" alt="Profile Picture">
|
||||
</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
{{ if isset .Params "tags" }}
|
||||
<div>
|
||||
<ul class="tags">
|
||||
{{- range $tag := $.Params.tags -}}
|
||||
|
@ -11,3 +12,4 @@
|
|||
{{- end -}}
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
|
@ -8,6 +8,10 @@
|
|||
border-color: {{ . }};
|
||||
}
|
||||
|
||||
.read-more-link a:hover {
|
||||
background-color: {{ . }};
|
||||
}
|
||||
|
||||
.pagination li a {
|
||||
color: {{ . }};
|
||||
border: 1px solid {{ . }};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue