From 3307377c99b4eb4e578b46ffba23e6787b506387 Mon Sep 17 00:00:00 2001 From: Miguel de la Cruz Date: Mon, 8 Jan 2024 09:12:22 +0100 Subject: [PATCH] Update posts to blog --- content/{posts => blog}/_index.md | 0 content/{posts => blog}/hola-mundo.md | 0 hugo.yaml | 4 ++-- themes/clean/content/{posts => blog}/_index.md | 2 +- themes/clean/hugo.yaml | 4 ++-- themes/clean/layouts/partials/footer.html | 2 +- themes/clean/layouts/partials/head.html | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) rename content/{posts => blog}/_index.md (100%) rename content/{posts => blog}/hola-mundo.md (100%) rename themes/clean/content/{posts => blog}/_index.md (95%) diff --git a/content/posts/_index.md b/content/blog/_index.md similarity index 100% rename from content/posts/_index.md rename to content/blog/_index.md diff --git a/content/posts/hola-mundo.md b/content/blog/hola-mundo.md similarity index 100% rename from content/posts/hola-mundo.md rename to content/blog/hola-mundo.md diff --git a/hugo.yaml b/hugo.yaml index f979ee2..7ef3a40 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -11,8 +11,8 @@ menus: - name: Inicio pageRef: '/' weight: 10 - - name: Posts - pageRef: '/posts' + - name: Blog + pageRef: '/blog' weight: 20 params: diff --git a/themes/clean/content/posts/_index.md b/themes/clean/content/blog/_index.md similarity index 95% rename from themes/clean/content/posts/_index.md rename to themes/clean/content/blog/_index.md index e7066c0..1296bc3 100644 --- a/themes/clean/content/posts/_index.md +++ b/themes/clean/content/blog/_index.md @@ -1,5 +1,5 @@ +++ -title = 'Posts' +title = 'Blog' date = 2023-01-01T08:30:00-07:00 draft = false +++ diff --git a/themes/clean/hugo.yaml b/themes/clean/hugo.yaml index cfbc38a..fad7b04 100644 --- a/themes/clean/hugo.yaml +++ b/themes/clean/hugo.yaml @@ -8,8 +8,8 @@ menus: - name: Home pageRef: '/' weight: 10 - - name: Posts - pageRef: '/posts' + - name: Blog + pageRef: '/blog' weight: 20 - name: Tags pageRef: '/tags' diff --git a/themes/clean/layouts/partials/footer.html b/themes/clean/layouts/partials/footer.html index f011708..863a574 100644 --- a/themes/clean/layouts/partials/footer.html +++ b/themes/clean/layouts/partials/footer.html @@ -1,6 +1,6 @@

Contenido licenciado bajo Creative Commons BY-SA 4.0

- + RSS diff --git a/themes/clean/layouts/partials/head.html b/themes/clean/layouts/partials/head.html index f97e384..299ffb6 100644 --- a/themes/clean/layouts/partials/head.html +++ b/themes/clean/layouts/partials/head.html @@ -1,5 +1,5 @@ - + {{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }} {{ partialCached "head/css.html" . }}