diff --git a/config.toml b/config.toml index 8321a18..32b69cf 100644 --- a/config.toml +++ b/config.toml @@ -35,9 +35,9 @@ disableKinds = ["taxonomy", "term"] [menu] [[menu.main]] - identifier = "posts" - name = "Posts" - title = "posts" + identifier = "articles" + name = "Articles" + title = "articles" url = "/posts/" weight = 10 diff --git a/content/posts/_index.md b/content/posts/_index.md index 283e6b3..74d8144 100644 --- a/content/posts/_index.md +++ b/content/posts/_index.md @@ -1,13 +1,13 @@ --- template: "posts.html" -description: "All the long-form posts on Seirdy's Home" -title: "Posts" +description: "All the long-form articles on Seirdy's Home" +title: "Articles" sitemap: ChangeFreq: weekly Priority: 0.7 --- -Posts -===== +Articles +======== -These are all of my long-form posts. [An Atom feed](./atom.xml) contains their full text. If that has any problems, I also have [a legacy RSS feed](./index.xml). +These are all of my long-form articles. [An Atom feed](./atom.xml) contains their full text. If that has any problems, I also have [a legacy RSS feed](./index.xml). diff --git a/layouts/_default/404.html b/layouts/_default/404.html index 3d26134..5f37ef6 100644 --- a/layouts/_default/404.html +++ b/layouts/_default/404.html @@ -34,7 +34,7 @@ Seirdy's Home
  • - Posts + Articles
  • Notes diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 1b00d6d..5ad0ca8 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -20,18 +20,18 @@ {{ $webmanifest := resources.Get "/manifest.webmanifest" | resources.ExecuteAsTemplate "manifest.webmanifest" . | resources.Minify | resources.Fingerprint "md5" -}} {{- printf `` $webmanifest.RelPermalink | safeHTML -}} - + {{- if or (eq .Section "notes") (eq .Title "Notes") -}} - - {{- else if or (eq .Section "posts") (eq .Title "Posts") -}} - + + {{- else if or (eq .Section "posts") (eq .Title "Articles") -}} + {{- else -}} - + {{- end }} {{ .Title }}{{ if and (lt (len .Title) 54) (ne $canonicalRelPermalink "/") }} - Seirdy{{ end }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index bbee96b..0682a1a 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -23,9 +23,9 @@ {{ $isCurrent := false }}
  • An Atom feed contains the full text of all my posts. If that has any problems, I also have a legacy RSS feed.

    -{{- else -}}
    -

    Posts

    -

    Here’s a selection of my best posts, in featured order. To see the rest, visit my Posts page.

    -{{- end }} -

    I edit some of these posts quite often; some are updated indefinitely. Check the “updated” timestamps.

    +

    Articles

    +

    Here’s a selection of my best articles, in featured order. To see the rest, visit my Articles page.

    +

    I edit some of these articles quite often; some are updated indefinitely. Check the “updated” timestamps.

    Timestamp format: YYYY-MM-DD, as per RFC 3339 and ISO 8601. Sorted newest to oldest.

      - {{- $posts := (where site.RegularPages "Section" "posts") -}} - {{- if not $isStandalone -}} - {{- $posts = sort (where $posts "Params.featured" ">" 0) "Params.featured" -}} - {{- end -}} + {{- $posts := site.RegularPages -}} + {{- $posts = sort (where $posts "Params.featured" ">" 0) "Params.featured" -}} {{- range $posts -}} {{- $canonicalRelPermalink := .RelPermalink | replaceRE "^/~seirdy/" "/" -}}
    1. - {{ if $isStandalone -}} -

      - {{ if $isStandalone -}} -

      - {{- else -}} - {{- end }}

      Posted {{- if lt .Date .Lastmod -}} @@ -51,8 +31,4 @@

    2. {{- end }}
    -{{ if $isStandalone -}} -
    -{{ else -}} -{{ end }}