mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 13:25:57 -06:00
Clean up after the last commit
This commit is contained in:
parent
f3274c67fc
commit
cc20b09e8e
@ -17,26 +17,23 @@
|
|||||||
text-decoration: inherit;
|
text-decoration: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-description {
|
.post-meta-item {
|
||||||
margin-top: 10px;
|
margin-right: 5px;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-media {
|
.post-media {
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.post-description {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.readmore {
|
.readmore {
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
(.date, .wordcount, .readingtime, .gitcommit, .tag) + (.date, .wordcount, .readingtime, .gitcommit, .tag) {
|
|
||||||
margin-left: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post-meta-item {
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 svg.icon {
|
h1 svg.icon {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<div class="post-metadata">
|
<div class="post-metadata">
|
||||||
{{ if .Date }}
|
{{ if .Date }}
|
||||||
|
|
||||||
<span class="post-meta-item date">
|
<span class="post-meta-item">
|
||||||
{{ partial "icon.html" "calendar" }}
|
{{ partial "icon.html" "calendar" }}
|
||||||
<time datetime="{{ .Date.Format "January 2, 2006" }}" pubdate>
|
<time datetime="{{ .Date.Format "January 2, 2006" }}" pubdate>
|
||||||
{{ .Date.Format "January 2, 2006" }}
|
{{ .Date.Format "January 2, 2006" }}
|
||||||
@ -18,21 +18,21 @@
|
|||||||
</span>
|
</span>
|
||||||
|
|
||||||
{{ if .Site.Params.wordcount }}
|
{{ if .Site.Params.wordcount }}
|
||||||
<span class="post-meta-item wordcount">
|
<span class="post-meta-item">
|
||||||
{{ partial "icon.html" "type" }}
|
{{ partial "icon.html" "type" }}
|
||||||
{{ .WordCount }} words
|
{{ .WordCount }} words
|
||||||
</span>
|
</span>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if .Site.Params.readingtime }}
|
{{ if .Site.Params.readingtime }}
|
||||||
<span class="post-meta-item readingtime">
|
<span class="post-meta-item">
|
||||||
{{ partial "icon.html" "clock" }}
|
{{ partial "icon.html" "clock" }}
|
||||||
{{ .ReadingTime }} {{ if gt .ReadingTime 1 }} mins {{ else }} min {{ end }}
|
{{ .ReadingTime }} {{ if gt .ReadingTime 1 }} mins {{ else }} min {{ end }}
|
||||||
</span>
|
</span>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ with .GitInfo }}
|
{{ with .GitInfo }}
|
||||||
<span class="post-meta-item gitcommit">
|
<span class="post-meta-item">
|
||||||
{{ partial "icon.html" "git-commit" }}
|
{{ partial "icon.html" "git-commit" }}
|
||||||
<a href="{{ (printf "%s/commit/%s" $.Site.Params.repoURL .Hash) | absURL }}">
|
<a href="{{ (printf "%s/commit/%s" $.Site.Params.repoURL .Hash) | absURL }}">
|
||||||
<code>{{ .AbbreviatedHash }}</code>
|
<code>{{ .AbbreviatedHash }}</code>
|
||||||
@ -40,11 +40,13 @@
|
|||||||
</span>
|
</span>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ range (.GetTerms "tags") }}
|
<div class="tags">
|
||||||
<span class="post-meta-item tag">
|
{{ range (.GetTerms "tags") }}
|
||||||
{{ partial "icon.html" "tag" }}
|
<span class="post-meta-item">
|
||||||
<a href="{{ .Permalink }}">{{ .LinkTitle }}</a>
|
{{ partial "icon.html" "tag" }}
|
||||||
</span>
|
<a href="{{ .Permalink }}">{{ .LinkTitle }}</a>
|
||||||
{{ end }}
|
</span>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user