diff --git a/assets/icons/refresh.svg b/assets/icons/refresh.svg new file mode 100644 index 0000000..8b656b5 --- /dev/null +++ b/assets/icons/refresh.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/icons/stopwatch.svg b/assets/icons/stopwatch.svg new file mode 100644 index 0000000..cb46a6a --- /dev/null +++ b/assets/icons/stopwatch.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/layouts/partials/article/components/details.html b/layouts/partials/article/components/details.html new file mode 100644 index 0000000..50cc5bd --- /dev/null +++ b/layouts/partials/article/components/details.html @@ -0,0 +1,58 @@ +
+ {{ if .Params.categories }} +
+ {{ range (.GetTerms "tags") }} + + {{ .LinkTitle }} + + {{ end }} +
+ {{ end }} + +
+

+ + {{- .Title -}} + +

+ + {{ with .Params.description }} +

+ {{ . }} +

+ {{ end }} +
+ + {{ $showReadingTime := .Params.readingTime | default (.Site.Params.article.readingTime) }} + {{ $showDate := not .Date.IsZero }} + {{ $showFooter := or $showDate $showReadingTime }} + {{ if $showFooter }} + + {{ end }} +