-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update pos list styles, remove self link from post
- Loading branch information
1 parent
35bf672
commit 2f64607
Showing
7 changed files
with
36 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,6 +50,10 @@ | |
text-align: right; | ||
} | ||
|
||
.text-small { | ||
font-size: .875em; | ||
} | ||
|
||
.hidden { | ||
display: none; | ||
} | ||
|
2 changes: 1 addition & 1 deletion
2
exampleSite/resources/_gen/assets/book.scss_b807c86e8030af4cdc30edccea379f5f.content
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
exampleSite/resources/_gen/assets/book.scss_b807c86e8030af4cdc30edccea379f5f.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"Target":"book.min.d2208918717d44dd763368798f932ba074fc5ac4c6432e3b5da36b1883005c59.css","MediaType":"text/css","Data":{"Integrity":"sha256-0iCJGHF9RN12M2h5j5MroHT8WsTGQy47XaNrGIMAXFk="}} | ||
{"Target":"book.min.a61cdb2979f3c2bece54ef69131fba427dd57d55c232d3bb5fdb62ac41aa8354.css","MediaType":"text/css","Data":{"Integrity":"sha256-phzbKXnzwr7OVO9pEx+6Qn3VfVXCMtO7X9tirEGqg1Q="}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,16 @@ | ||
{{ with .Date }} | ||
<h5>{{ partial "docs/date" (dict "Date" . "Format" $.Site.Params.BookDateFormat) }}</h5> | ||
<div class="flex align-center text-small book-post-date"> | ||
<img src="{{ "svg/calendar.svg" | relURL }}" class="book-icon " alt="" /> | ||
<span>{{ partial "docs/date" (dict "Date" . "Format" $.Site.Params.BookDateFormat) }}</span> | ||
</div> | ||
{{ end }} | ||
|
||
{{ range $taxonomy, $_ := .Site.Taxonomies }} | ||
{{ with $terms := $.GetTerms $taxonomy }} | ||
<div> | ||
<div class="text-small"> | ||
{{ range $n, $term := $terms }}{{ if $n }}, {{ end }} | ||
<a href="{{ $term.RelPermalink }}">{{ $term.Title }}</a> | ||
{{- end }} | ||
</div> | ||
{{ end }} | ||
{{ end }} | ||
|
||
{{ if .Params.image }} | ||
<p> | ||
{{ with .Resources.GetMatch .Params.image }} | ||
<img src={{ .RelPermalink }} /> | ||
{{ else }} | ||
<img src={{ .Params.image | relURL }} /> | ||
{{ end }} | ||
</p> | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters