diff --git a/assets/css/main.css b/assets/css/main.css index 6d2b0d7..29f6339 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -35,6 +35,10 @@ footer { margin-top: 1rem; } +h1, h2, h3, h4, h5, h6 { + text-align: left; +} + a { color: var(--text-highlight); text-decoration: none; @@ -144,3 +148,40 @@ td:last-child, th:last-child { border-right: none; } + +hr { + border: none; + border-top: 3px dotted var(--table-gridlines); + margin: 2rem 0; + opacity: 0.7; +} + +#site-title { + text-align: center; +} + +div#terms-container { + display: flex; +} + +ul#terms-list { + display: flex; + list-style: none; + padding: 0; + margin: 0; +} + +ul#terms-list > li > a { + text-transform: lowercase; + display: inline-block; + padding: 0.2rem 0.3rem 0.2rem 0.3rem; + font-weight: 700; + font-size: 0.8rem; + color: var(--bg-color); + background-color: var(--text-highlight); + border-radius: 0.5rem; + margin: 0.2rem; +} + +ul#terms-list > li > a:first-child { margin-left: 0; } +div#terms-time-container { display: flex; justify-content: space-between; } \ No newline at end of file diff --git a/content/posts/post-3/index.md b/content/posts/post-3/index.md index ca42a66..b6ae5f6 100644 --- a/content/posts/post-3/index.md +++ b/content/posts/post-3/index.md @@ -1,5 +1,5 @@ +++ -title = 'Post 3' +title = 'The simple theme for Hugo!' date = 2023-03-15T11:00:00-07:00 draft = false tags = ['red','green','blue'] @@ -7,6 +7,6 @@ tags = ['red','green','blue'] Occaecat aliqua consequat laborum ut ex aute aliqua culpa quis irure esse magna dolore quis. Proident fugiat labore eu laboris officia Lorem enim. Ipsum occaecat cillum ut tempor id sint aliqua incididunt nisi incididunt reprehenderit. Voluptate ad minim sint est aute aliquip esse occaecat tempor officia qui sunt. Aute ex ipsum id ut in est velit est laborum incididunt. Aliqua qui id do esse sunt eiusmod id deserunt eu nostrud aute sit ipsum. Deserunt esse cillum Lorem non magna adipisicing mollit amet consequat. -![Bryce Canyon National Park](bryce-canyon.jpg) +{{< figure src="bryce-canyon.jpg" caption="Bryce Canyon" class="center" >}} Sit excepteur do velit veniam mollit in nostrud laboris incididunt ea. Amet eu cillum ut reprehenderit culpa aliquip labore laborum amet sit sit duis. Laborum id proident nostrud dolore laborum reprehenderit quis mollit nulla amet veniam officia id id. Aliquip in deserunt qui magna duis qui pariatur officia sunt deserunt. diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 7e286c8..3eb3886 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,10 +1,10 @@ {{ define "main" }}

{{ .Title }}

- - {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }} - {{ $dateHuman := .Date | time.Format ":date_long" }} - - +
+ {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} + {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }} + {{ $dateHuman := .Date | time.Format ":date_long" }} + +
{{ .Content }} - {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} {{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index ee99d3e..3ebe378 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,2 +1,2 @@

Copyright {{ now.Year }}. All rights reserved.

-

Powered by Nostalgia

\ No newline at end of file +

Powered by Nostalgia

\ No newline at end of file diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 7980a00..002f7d9 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,2 +1,2 @@ -

{{ site.Title }}

+

{{ site.Title }}

{{ partial "menu.html" (dict "menuID" "main" "page" .) }} diff --git a/layouts/partials/terms.html b/layouts/partials/terms.html index 47cf6e4..5fb649f 100644 --- a/layouts/partials/terms.html +++ b/layouts/partials/terms.html @@ -12,9 +12,8 @@ For a given taxonomy, renders a list of terms assigned to the page. {{- with $page.GetTerms $taxonomy }} {{- $label := (index . 0).Parent.LinkTitle }} -
-
{{ $label }}:
-