diff --git a/assets/scss/_main.scss b/assets/scss/_main.scss index ab791614..9e5c9618 100644 --- a/assets/scss/_main.scss +++ b/assets/scss/_main.scss @@ -802,7 +802,7 @@ body.nownownow .post-content > p { line-height: inherit; } -a[href^="/tags/"] { +a[href^="/tags/"]:not([href*="#"]):not(.nothashtag) { white-space: nowrap; &:before { content: '#'; diff --git a/content/notes/facebook.md b/content/notes/facebook.md index c062ef66..33dbe2d6 100644 --- a/content/notes/facebook.md +++ b/content/notes/facebook.md @@ -3,6 +3,6 @@ title: "Facebook" date: 2024-04-05T16:09:46+01:00 --- -I've taken a few spare moments to start importing my [Facebook posts](/tags/from-facebook) here. (There's some [code](https://github.com/by-jp/www.byjp.me/tree/main/tools/archive/facebook) I've been using for this; if you find you'd like to do the same, let me know and I'll polish it up!) +I've taken a few spare moments to start importing my [Facebook posts](/tags/from-facebook#) here. (There's some [code](https://github.com/by-jp/www.byjp.me/tree/main/tools/archive/facebook) I've been using for this; if you find you'd like to do the same, let me know and I'll polish it up!) There are _a lot_ of Facebook posts in my export; many of them are trash, or so link-rotted I'm avoiding importing them here, but I'm utterly fascinated by what the world of the early internet was for me. Also, somehow, I was _even more_ excitable 😅 diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 1638509c..dc75b57d 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -7,7 +7,7 @@

{{ with .Params.emoji }}{{end}} - {{ title (replace .Title "-" " ") }} + {{ title (replace .Title "-" " ") }}

{{ partial "alternates.html" . }}
@@ -23,7 +23,7 @@
    {{ range .Pages }}
  • - + {{ if .Params.emoji }}{{ .Params.emoji }}{{ end }} {{ partial "fallbacktitle.txt" . }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 321c3b71..cbb44944 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -46,7 +46,7 @@

    {{ with .Params.emoji }}{{end}} - {{ .Title | markdownify }} + {{ .Title | markdownify }}

    {{ with .Params.Subtitle }}

    {{ . | markdownify }}

    diff --git a/layouts/calendar/list.html b/layouts/calendar/list.html index 295ca3b6..6e48b878 100644 --- a/layouts/calendar/list.html +++ b/layouts/calendar/list.html @@ -5,7 +5,7 @@

    {{ with .Params.emoji }}{{end}} - {{ title (replace .Title "-" " ") }} + {{ title (replace .Title "-" " ") }}

    {{ partial "alternates.html" . }}
    diff --git a/layouts/calendar/single.html b/layouts/calendar/single.html index 62d24129..c575a7d3 100644 --- a/layouts/calendar/single.html +++ b/layouts/calendar/single.html @@ -21,7 +21,7 @@

    {{ with .Params.emoji }}{{end}} - {{ .Title | markdownify }} + {{ .Title | markdownify }}

    diff --git a/layouts/memex/list.html b/layouts/memex/list.html index fbcba250..e0fd4090 100644 --- a/layouts/memex/list.html +++ b/layouts/memex/list.html @@ -6,7 +6,7 @@

    {{ with .Params.emoji }}{{end}} - {{ title (replace .Title "-" " ") }} + {{ title (replace .Title "-" " ") }}

    @@ -31,7 +31,7 @@
    • - + {{ if .Params.emoji }}{{ .Params.emoji }}{{ end }} {{.Title}} @@ -39,7 +39,7 @@ {{ range .Pages }} {{ $tags = union $tags .Params.tags }}
    • - + {{.Title}}
    • @@ -56,7 +56,7 @@ {{ $tags = union $tags .Params.tags }}
    • - + {{.Title}}
    • diff --git a/layouts/memex/single.html b/layouts/memex/single.html index 11d40a24..025bb76b 100644 --- a/layouts/memex/single.html +++ b/layouts/memex/single.html @@ -7,7 +7,7 @@

      {{ with .Params.emoji }}{{end}} - {{ .Title | markdownify }} + {{ .Title | markdownify }}

      diff --git a/layouts/notes/list.html b/layouts/notes/list.html index fba83664..97f3fa66 100644 --- a/layouts/notes/list.html +++ b/layouts/notes/list.html @@ -8,7 +8,7 @@

      {{ with .Params.emoji }}{{end}} - {{ title (replace .Title "-" " ") }} + {{ title (replace .Title "-" " ") }}

      {{ partial "alternates.html" . }}
      @@ -24,7 +24,7 @@
      {{ .Content }}
      - {{ partial "year-relative-date.html" .Date }} + {{ partial "year-relative-date.html" .Date }} {{ if collections.In .Params.tags "from-twitter" }}{{ partial "svg.html" (dict "name" "twitter") }}{{ end }}
      diff --git a/layouts/partials/alternates.html b/layouts/partials/alternates.html index 5d2aa7bf..e3cb9afe 100644 --- a/layouts/partials/alternates.html +++ b/layouts/partials/alternates.html @@ -4,7 +4,7 @@
        {{ range $page.OutputFormats }} {{ if ne .Rel "alternate" }}{{ continue }}{{ end }} - {{ $link := ($page.OutputFormats.Get .Name).Permalink }} + {{ $link := ($page.OutputFormats.Get .Name).RelPermalink }}
      • {{ partial "svg.html" (dict "name" .Name) }} {{ partial "alternatename.txt" .Name }}
      • {{ end }}
      diff --git a/layouts/partials/pagination-list.html b/layouts/partials/pagination-list.html index bc4885ee..c104ede4 100644 --- a/layouts/partials/pagination-list.html +++ b/layouts/partials/pagination-list.html @@ -2,7 +2,7 @@
      {{ if .Paginator.HasPrev }} - + ← Newer posts @@ -10,7 +10,7 @@ {{ end }} {{ if .Paginator.HasNext }} - + Older posts → diff --git a/layouts/partials/pagination-single.html b/layouts/partials/pagination-single.html index 960c712e..cf39f916 100644 --- a/layouts/partials/pagination-single.html +++ b/layouts/partials/pagination-single.html @@ -10,7 +10,7 @@
      {{ if .NextInSection }} - + ← {{ .NextInSection.Title | default (.NextInSection.Date.Format .Site.Params.dateform) }} @@ -19,7 +19,7 @@ {{ if .PrevInSection }} - + {{ .PrevInSection.Title | default (.PrevInSection.Date.Format .Site.Params.dateform)}} → diff --git a/layouts/partials/post-previews.html b/layouts/partials/post-previews.html index 3a2e315b..44a49819 100644 --- a/layouts/partials/post-previews.html +++ b/layouts/partials/post-previews.html @@ -10,7 +10,7 @@ {{- $typeSVG := index .Site.Params.defaultSVG ( partial "kebab.txt" $postType) -}}
    • {{ partial "svg.html" (dict "name" $typeSVG) }} - + {{- with .Title -}}{{ . }}{{ else }}{{ .Type | singularize | title }}{{ end -}}
      diff --git a/layouts/photos/list.html b/layouts/photos/list.html index 597b80f0..b8e5ca1f 100644 --- a/layouts/photos/list.html +++ b/layouts/photos/list.html @@ -7,7 +7,7 @@

      {{ with .Params.emoji }}{{end}} - {{ title (replace .Title "-" " ") }} + {{ title (replace .Title "-" " ") }}

      @@ -22,9 +22,9 @@
        {{- range .Pages -}}
      • {{- "" -}} - + {{- $firstMedia := index .Params.Media 0 -}} - {{- "" -}} + {{- "" -}} {{- "" -}}
      • {{- end -}} diff --git a/layouts/poetry/single.html b/layouts/poetry/single.html index a6580856..f0875f94 100644 --- a/layouts/poetry/single.html +++ b/layouts/poetry/single.html @@ -2,7 +2,7 @@
        -

        {{ .Title | markdownify }}

        +

        {{ .Title | markdownify }}

        {{ with .Summary }}
        {{ . }}
        diff --git a/layouts/reading-lists/list.html b/layouts/reading-lists/list.html index 6565581b..5e508080 100644 --- a/layouts/reading-lists/list.html +++ b/layouts/reading-lists/list.html @@ -6,7 +6,7 @@

        {{ with .Params.emoji }}{{end}} - {{ title (replace .Title "-" " ") }} + {{ title (replace .Title "-" " ") }}

        {{ partial "alternates.html" . }}
        @@ -18,7 +18,7 @@
          {{ range .Pages.ByDate }}
        • - + {{ if .Params.emoji }}{{ .Params.emoji }}{{ end }} {{ if .Title }}{{.Title}}{{ else }}Untitled {{ .Type | singularize -}}{{ end }} diff --git a/layouts/reading-lists/single.html b/layouts/reading-lists/single.html index 9ce8ba42..018304ad 100644 --- a/layouts/reading-lists/single.html +++ b/layouts/reading-lists/single.html @@ -7,7 +7,7 @@

          {{ with .Params.emoji }}{{end}} - {{ .Title | markdownify }} + {{ .Title | markdownify }}

          • {{ partial "svg.html" (dict "name" "rss") }}Feed