From b6f91173d9c67e2511e45e6003dbf5eb9581723a Mon Sep 17 00:00:00 2001 From: jk Date: Fri, 29 Oct 2021 15:44:11 +0100 Subject: [PATCH] removing everything --- config.toml | 54 ------------------ layouts/_default/section.html | 3 - .../nipponalba/layouts/_default/baseof.html | 2 +- themes/nipponalba/layouts/index.html | 55 ------------------- .../nipponalba/layouts/partials/footer.html | 3 - 5 files changed, 1 insertion(+), 116 deletions(-) diff --git a/config.toml b/config.toml index 740e8b15..79723aa6 100644 --- a/config.toml +++ b/config.toml @@ -65,10 +65,6 @@ description = "Quintessentially Celtic, vehemently Viking, passionately European description = "日本語の紹介を書くーQuintessentially Celtic, vehemently Viking, passionately European, unashamedly, proudly Scottish, craft beer and single malt whisky lover, enthusiastic cook, vegan, perpetually exhausted dad, pronouns: he/him" ## Social Links -[[params.socialIcons]] -icon = "fa fa-pleroma fa-2x fa-fw" -title = "Pleroma" -url = "https://social.nipponalba.scot/jk" [[params.socialIcons]] icon = "fa fa-pixelfed fa-2x fa-fw" @@ -98,53 +94,3 @@ languageName = "English" name="Home" weight= 100 url = "/" - -[[languages.en.menu.main]] -name = "Blogs" -weight = 200 -url = "/blog/" - -[[languages.en.menu.main]] -name = "Articles" -weight = 300 -url = "/article/" - -[[languages.en.menu.main]] -name = "Notes" -weight = 400 -url = "/note/" - -[[languages.en.menu.main]] -name = "Photos" -weight = 500 -url = "/photo/" - -[[languages.en.menu.main]] -name = "Bookmarks" -weight = 600 -url = "/bookmarks/" - -[[languages.en.menu.main]] -name = "Feeds" -weight = 700 -url = "/feeds/" -identifier = "feeds" - -[languages.jp] -weight = 10 -languageName = "日本語" - -[[languages.jp.menu.main]] -name="ホーム" -weight= 100 -url = "/jp/" - -[[languages.jp.menu.main]] -name = "全部のブログ" -weight = 200 -url = "/jp/blog/" - -[[languages.jp.menu.main]] -name = "記事" -weight = 300 -url = "/jp/article/" diff --git a/layouts/_default/section.html b/layouts/_default/section.html index da079233..04007649 100644 --- a/layouts/_default/section.html +++ b/layouts/_default/section.html @@ -80,6 +80,3 @@ {{ end }} {{ partial "pagination.html" . }} - - -{{ end }} diff --git a/themes/nipponalba/layouts/_default/baseof.html b/themes/nipponalba/layouts/_default/baseof.html index 0ad59996..3c8fecb6 100644 --- a/themes/nipponalba/layouts/_default/baseof.html +++ b/themes/nipponalba/layouts/_default/baseof.html @@ -3,7 +3,7 @@ {{- partial "head.html" . -}}
- {{ partial "navbar.html" . }} +
{{- block "main" . }}{{- end }} diff --git a/themes/nipponalba/layouts/index.html b/themes/nipponalba/layouts/index.html index 42ac54e8..b231fbf7 100644 --- a/themes/nipponalba/layouts/index.html +++ b/themes/nipponalba/layouts/index.html @@ -31,60 +31,5 @@ Cooking
-

Latest posts

- {{ range (first 3 (where .Site.RegularPages "Type" "!=" "response")) }} -
- {{ if eq .Type "article"}}{{ with .Page.Params.images }}{{ partial "taxonomy/image.html" . }}{{ end }}

{{ .Title }}

{{ end }} -
{{ if not (eq .Type "article")}}{{ .Content }}{{ else}}{{ .Summary }}{{ end }} - {{ if eq .Type "photo"}} -
- {{$link := .Permalink}} - {{$summary := .Content}} - {{ range .Page.Params.Photo }} - {{ if isset . "value" }} - {{ .alt }} - {{ else }} - Alt not yet added, will fix! - {{ end }} - {{end}} -
- {{end}} -
-
- {{ if eq .Type "article" }} - {{ .ReadingTime }}-minute read

- {{ with .Page.Params.Blog }} {{ partial "taxonomy/blog.html" . }}{{ end }}
- {{ with .Page.Params.category }}{{ partial "taxonomy/categories.html" . }}{{ end }}{{ with .Page.Params.tag }}, {{ partial "taxonomy/tags.html" . }}{{ end }} - {{ else }} - {{ $mention_ids := index $.Site.Data.index .RelPermalink }} - - {{ $mentions := apply $mention_ids "index" $.Site.Data.mentions "." }} - {{ $.Scratch.Set "likecount" 0 }} - {{ $.Scratch.Set "sharecount" 0 }} - {{ $.Scratch.Set "commentcount" 0 }} - {{ $.Scratch.Set "mentioncount" 0 }} - {{ range $mentions }} - {{ if eq (index . "wm-property") "like-of" }}{{ $.Scratch.Add "likecount" 1 }}{{ end }} - {{ if eq (index . "wm-property") "repost-of" }}{{ $.Scratch.Add "sharecount" 1 }}{{ end }} - {{ if eq (index . "wm-property") "in-reply-to" }}{{ $.Scratch.Add "commentcount" 1 }}{{ end }} - {{ if eq (index . "wm-property") "mention" }}{{ $.Scratch.Add "mentioncount" 1 }}{{ end }} - {{ end }} - {{ $likecount := $.Scratch.Get "likecount" }}{{ if ne $likecount 0 }} {{$likecount}} like{{if gt $likecount 1}}s{{end}}{{end}} - {{ $sharecount := $.Scratch.Get "sharecount" }}{{ if ne $sharecount 0 }} {{$sharecount}} share{{if gt $sharecount 1}}s{{end}}{{end}} - {{ $commentcount := $.Scratch.Get "commentcount" }}{{ if ne $commentcount 0 }} {{$commentcount}} repl{{if gt $commentcount 1}}ies{{else}}y{{end}}{{end}} - {{ $mentioncount := $.Scratch.Get "mentioncount" }}{{ if ne $mentioncount 0 }} {{$mentioncount}} mention{{if gt $mentioncount 1}}s{{end}}{{end}} - - {{ with .Page.Params.category }}{{ partial "taxonomy/categories.html" . }}{{ end }}{{ with .Page.Params.tag }}, {{ partial "taxonomy/tags.html" . }}{{ end }} - {{ end }} - - {{ end }} -
- -
- {{ end }} {{ end }} diff --git a/themes/nipponalba/layouts/partials/footer.html b/themes/nipponalba/layouts/partials/footer.html index 200c79fe..9dc7c666 100644 --- a/themes/nipponalba/layouts/partials/footer.html +++ b/themes/nipponalba/layouts/partials/footer.html @@ -3,9 +3,6 @@ © {{ now.Format "2006"}} | CC-BY 4.0 |

Made with ❤ and Hugo by {{ .Site.Params.author }}
Inter font by Rasmus
- -An IndieWeb Webring 🕸💍 -