From 2ddbc2b056af0585b905606a2c6887d43f9c3b01 Mon Sep 17 00:00:00 2001 From: Leonardo Santiago Date: Sat, 1 Jun 2024 17:30:03 -0300 Subject: localize bearblog, update some UI --- themes/hugo-bearblog | 1 - themes/hugo-bearblog/archetypes/blog.md | 13 +++++++++++++ themes/hugo-bearblog/archetypes/default.md | 22 ++++++++++++++++++++++ 3 files changed, 35 insertions(+), 1 deletion(-) delete mode 160000 themes/hugo-bearblog create mode 100644 themes/hugo-bearblog/archetypes/blog.md create mode 100644 themes/hugo-bearblog/archetypes/default.md (limited to 'themes/hugo-bearblog/archetypes') diff --git a/themes/hugo-bearblog b/themes/hugo-bearblog deleted file mode 160000 index efc24bc..0000000 --- a/themes/hugo-bearblog +++ /dev/null @@ -1 +0,0 @@ -Subproject commit efc24bc5e95f0ccb88051e1a7d95e8a1404e953e diff --git a/themes/hugo-bearblog/archetypes/blog.md b/themes/hugo-bearblog/archetypes/blog.md new file mode 100644 index 0000000..e4594c6 --- /dev/null +++ b/themes/hugo-bearblog/archetypes/blog.md @@ -0,0 +1,13 @@ ++++ +title = "{{ replace .Name "-" " " | title }}" +date = "{{ .Date }}" + +# +# description is optional +# +# description = "An optional description for SEO. If not provided, an automatically created summary will be used." + +tags = [{{ range $plural, $terms := .Site.Taxonomies }}{{ range $term, $val := $terms }}"{{ printf "%s" $term }}",{{ end }}{{ end }}] ++++ + +This is a page about »{{ replace .Name "-" " " | title }}«. diff --git a/themes/hugo-bearblog/archetypes/default.md b/themes/hugo-bearblog/archetypes/default.md new file mode 100644 index 0000000..e8406b3 --- /dev/null +++ b/themes/hugo-bearblog/archetypes/default.md @@ -0,0 +1,22 @@ ++++ +title = "{{ replace .Name "-" " " | title }}" +date = "{{ .Date }}" + +# +# Set menu to "main" to add this page to +# the main menu on top of the page +# +menu = "main" + +# +# description is optional +# +# description = "An optional description for SEO. If not provided, an automatically created summary will be used." + +# +# tags are optional +# +# tags = [{{ range $plural, $terms := .Site.Taxonomies }}{{ range $term, $val := $terms }}"{{ printf "%s" $term }}",{{ end }}{{ end }}] ++++ + +This is a page about »{{ replace .Name "-" " " | title }}«. -- cgit v1.2.3