diff options
Diffstat (limited to 'themes')
-rw-r--r-- | themes/hugo-pt2021/archetypes/articles.md | 2 | ||||
-rw-r--r-- | themes/hugo-pt2021/archetypes/projects.md | 2 | ||||
-rw-r--r-- | themes/hugo-pt2021/layouts/partials/header.html | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/themes/hugo-pt2021/archetypes/articles.md b/themes/hugo-pt2021/archetypes/articles.md index 6229a7c..023684c 100644 --- a/themes/hugo-pt2021/archetypes/articles.md +++ b/themes/hugo-pt2021/archetypes/articles.md @@ -1,5 +1,5 @@ --- -slug: {{.Name}} +slug: "{{.Name}}" title: "{{ replace .Name "-" " " | title }}" # draft articles are not visible on live site diff --git a/themes/hugo-pt2021/archetypes/projects.md b/themes/hugo-pt2021/archetypes/projects.md index 4e81c4b..cb4bd7f 100644 --- a/themes/hugo-pt2021/archetypes/projects.md +++ b/themes/hugo-pt2021/archetypes/projects.md @@ -1,7 +1,7 @@ --- slug: {{.Name}} title: "{{ replace .Name "-" " " | title }}" -text: "Brief description of {{.Name}}" +text: "Sentence describing of {{.Name}}" # draft projects are not visible on live site draft: true diff --git a/themes/hugo-pt2021/layouts/partials/header.html b/themes/hugo-pt2021/layouts/partials/header.html index a51197b..20abe46 100644 --- a/themes/hugo-pt2021/layouts/partials/header.html +++ b/themes/hugo-pt2021/layouts/partials/header.html @@ -35,7 +35,7 @@ {{- range $.Site.Data.menu.start -}} <a href='{{.href}}' - class='navbar-item {{if eq .id $.Params.page_id}}has-text-weight-bold{{end}}' + class='navbar-item {{if eq .id $.Params.menu}}has-text-weight-bold{{end}}' title='{{.help}}' aria-label='{{.help}}' > @@ -61,7 +61,7 @@ {{- range $.Site.Data.menu.end -}} <a href='{{.href}}' - class='navbar-item {{if eq .id $.Params.page_id}}is-active{{end}}' + class='navbar-item {{if eq .id $.Params.menu}}is-active{{end}}' title='{{.help}}' aria-label='{{.help}}' > |