diff --git a/.gitignore b/.gitignore index d9d58eb..0cd2ade 100644 --- a/.gitignore +++ b/.gitignore @@ -1,19 +1,5 @@ -# Generated files by hugo -/public/ -/resources/_gen/ -/assets/jsconfig.json -hugo_stats.json - -# Executable may be added to repository -hugo.exe -hugo.darwin -hugo.linux - -# Temporary lock file while building -/.hugo_build.lock - # Ignore challenge submissions to prevent bloating git repo /assets/ # Ignore challenge data files -/data/ \ No newline at end of file +/data/ diff --git a/archetypes/default.md b/archetypes/default.md deleted file mode 100644 index 00e77bd..0000000 --- a/archetypes/default.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "{{ replace .Name "-" " " | title }}" -date: {{ .Date }} -draft: true ---- - diff --git a/build.sh b/build.sh deleted file mode 100755 index 84560f3..0000000 --- a/build.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -hugo -#find public -name '*.html' -type f -exec tidy --quiet yes --drop-empty-elements no --hide-comments yes -mq '{}' \; &> /dev/null diff --git a/config.toml b/config.toml deleted file mode 100644 index ecab14f..0000000 --- a/config.toml +++ /dev/null @@ -1,20 +0,0 @@ -baseURL = 'https://tegakituesday.com/' -languageCode = 'en-us' -title = 'Tegaki Tuesday' -theme = 'tegakituesday.com' -enableEmoji = true -disableKinds = ["taxonomy", "taxonomyTerm", "RSS"] - -[params] - AuthorName = "Elnu" - MatomoURL = "matomo.elnu.com" - MatomoSiteId = "4" - CopyrightStart = 2021 - -[permalinks] - challenges = "/:filename" - -[markup] - [markup.goldmark] - [markup.goldmark.renderer] - unsafe = true diff --git a/layouts/partials/footers/submissions.html b/layouts/partials/footers/submissions.html deleted file mode 100644 index 7647252..0000000 --- a/layouts/partials/footers/submissions.html +++ /dev/null @@ -1,3 +0,0 @@ -
-{{ markdownify .Inner }}
-This page doesn't exist.
- -{{ end }} \ No newline at end of file diff --git a/themes/tegakituesday.com/layouts/_default/_markup/render-link.html b/themes/tegakituesday.com/layouts/_default/_markup/render-link.html deleted file mode 100644 index 55dcdbf..0000000 --- a/themes/tegakituesday.com/layouts/_default/_markup/render-link.html +++ /dev/null @@ -1,16 +0,0 @@ - -{{- $link := .Destination -}} -{{ $isRemote := strings.HasPrefix $link "http" }} -{{- if not $isRemote -}} - {{ $url := urls.Parse .Destination }} - {{- if $url.Path -}} - {{ $fragment := "" }} - {{- with $url.Fragment }} - {{ $fragment = printf "#%s" . }} - {{ end -}} - {{- with .Page.GetPage $url.Path }} - {{ $link = printf "%s%s" .RelPermalink $fragment }} - {{ end }} - {{ end -}} -{{- end -}} -{{ .Text | safeHTML }}{{ "" -}} diff --git a/themes/tegakituesday.com/layouts/_default/baseof.html b/themes/tegakituesday.com/layouts/_default/baseof.html deleted file mode 100644 index 7b54dac..0000000 --- a/themes/tegakituesday.com/layouts/_default/baseof.html +++ /dev/null @@ -1,31 +0,0 @@ - - - {{ block "head" . }} - {{ partial "head.html" . }} - {{ end }} - - -{{- range. -}} - {{- if eq (printf "%T" .text) "string" -}} - {{- $.Scratch.Set "dictionary" .text -}} - {{- $.Scratch.Set "html" .text -}} - {{- else -}} - {{- $.Scratch.Set "dictionary" "" -}} - {{- $.Scratch.Set "html" "" -}} - {{- range.text -}} - {{- if reflect.IsMap . -}} - {{- range $kanji, $furigana := . -}} - {{- $.Scratch.Add "dictionary" $kanji -}} - {{- $.Scratch.Add "html" "" -}} - {{- $.Scratch.Add "html" $kanji -}} - {{- $.Scratch.Add "html" "" -}} - {{- end -}} - {{- else -}} - {{- $.Scratch.Add "dictionary" . -}} - {{- $.Scratch.Add "html" . -}} - {{- end -}} - {{- end -}} - {{- end -}} - {{ if .dictionary }} - {{- $.Scratch.Set "dictionary" .dictionary -}} - {{ end }} - {{- if not (and .dictionary (hasPrefix .dictionary "http")) -}} - {{- $.Scratch.Set "dictionary" (printf "%s" ($.Scratch.Get "dictionary") | printf "%s%s" "https://jisho.org/word/" | printf "%s") -}} - {{- end -}} - {{- if and (not .dictionary) (not .pos) -}} - {{- $.Scratch.Get "html" | safeHTML -}} - {{- else -}} - {{- $.Scratch.Get "html" | safeHTML -}} - {{- end -}} - {{- end -}}
- {{- end -}} - {{- end -}} -This week's challenge is from the lyrics of - {{ if .override }} - {{ with .override }} - {{ partial "content.html" (dict "Content" (markdownify .)) }} - {{- end -}} - {{ else }} - {{ with .japanese }}{{ partial "content.html" (dict "Content" .) }}{{ end }}{{ if and .japanese .english }}/{{ end }}{{ with .english }}{{ . }}{{ end -}} - {{ end -}} - {{- with $.Params.youtube }} (YouTube){{ end -}} - {{- with $.Params.spotify }} (Spotify){{ end -}} - :
- {{ end }} - {{ with .Params.youtube }} - - {{ end }} - {{ with .Params.spotify }} - - {{ end }} - {{ with .Params.translation }} -Translation{{ with .author }} by {{ . }}{{ end }}{{ with .site }} via {{ .name }}
{{ end }} - {{ end }} - {{ with .Params.suggester }} -This challenge was suggested by {{ . }} using the -h suggest
command.