Skip to content

Commit

Permalink
Merge pull request #193 from moreal/title-bugfix
Browse files Browse the repository at this point in the history
Fix title not displayed
  • Loading branch information
moreal authored Oct 2, 2024
2 parents ce21d37 + 2dac34e commit 2b317c7
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion themes/hugo-planetarium/layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
href="{{ .Site.BaseURL }}"
id="site-title"
class="b bw1 bb pb1 no-underline dark-gray"
>{{ .Site.Title }}</a
>{{ .Site.Params.Title }}</a
>
<section id="main" class="mt5">
<div>
Expand Down
2 changes: 1 addition & 1 deletion themes/hugo-planetarium/layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
href="{{ .Site.Home.Permalink }}"
id="site-title"
class="b bb bw1 pb1 no-underline dark-gray"
>{{ .Site.Title }}</a
>{{ .Site.Params.Title }}</a
>

<section id="main" class="mt5">
Expand Down
2 changes: 1 addition & 1 deletion themes/hugo-planetarium/layouts/_default/terms.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<a
href="{{ .Site.BaseURL }}"
class="b bw1 bb pb1 no-underline dark-gray"
>{{ .Site.Title }}</a
>{{ .Site.Params.Title }}</a
>
<span class="b"> / </span>
<!-- prettier-ignore -->
Expand Down
2 changes: 1 addition & 1 deletion themes/hugo-planetarium/layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<section id="main">
<div>
<h1 id="site-title" class="f3">
{{ .Site.Title }}
{{ .Site.Params.Title }}
</h1>
<ul class="list pl0">
{{ range .Translations }}
Expand Down
4 changes: 2 additions & 2 deletions themes/hugo-planetarium/layouts/partials/meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<meta property="og:type" content="article" />
<meta property="og:description" content="{{ .Description }}" />
<meta property="og:title" content="{{ .Title }}" />
<meta property="og:site_name" content="{{ .Site.Title }}" />
<meta property="og:site_name" content="{{ .Site.Params.Title }}" />
{{ if isset site.Params "ogimage" }}
{{- /* FIXME: restrict them to bring exactly the same resources */ -}}
<meta property="og:image"
Expand Down Expand Up @@ -51,7 +51,7 @@
<meta name="twitter:creator" content="@{{ .Site.Params.twitter }}" />
<meta
name="twitter:title"
content="{{ if .Title }}{{ .Title }} | {{ end }}{{ .Site.Title }}"
content="{{ if .Title }}{{ .Title }} | {{ end }}{{ .Site.Params.Title }}"
/>
<meta
name="twitter:description"
Expand Down
2 changes: 1 addition & 1 deletion themes/hugo-planetarium/layouts/post/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
>

<span class="b">/ </span>
<a href="{{ .Site.BaseURL }}" class="b bb bw1 pb1 no-underline dark-gray">{{ .Site.Title }}</a>
<a href="{{ .Site.BaseURL }}" class="b bb bw1 pb1 no-underline dark-gray">{{ .Site.Params.Title }}</a>
<span class="b"> / </span>
<a href="/post" class="b bb bw1 pb1 no-underline dark-gray">blog</a>

Expand Down
2 changes: 1 addition & 1 deletion themes/hugo-planetarium/layouts/project/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<a
href="{{ .Site.BaseURL }}"
class="b bb bw1 pb1 no-underline dark-gray"
>{{ .Site.Title }}</a
>{{ .Site.Params.Title }}</a
>

<section id="main" class="mt5">
Expand Down
2 changes: 1 addition & 1 deletion themes/hugo-planetarium/layouts/taxonomy/category.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<a
href="{{ .Site.BaseURL }}"
class="b bw1 bb pb1 no-underline dark-gray"
>{{ .Site.Title }}</a
>{{ .Site.Params.Title }}</a
>
<span class="b"> / </span>
<a href="/categories" class="b bw1 bb pb1 no-underline dark-gray">categories</a>
Expand Down
2 changes: 1 addition & 1 deletion themes/hugo-planetarium/layouts/taxonomy/series.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<a
href="{{ .Site.BaseURL }}"
class="b bw1 bb pb1 no-underline dark-gray"
>{{ .Site.Title }}</a
>{{ .Site.Params.Title }}</a
>
<span class="b"> / </span>
<a href="/series" class="b bw1 bb pb1 no-underline dark-gray">series</a>
Expand Down
2 changes: 1 addition & 1 deletion themes/hugo-planetarium/layouts/taxonomy/tag.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<a
href="{{ .Site.BaseURL }}"
class="b bw1 bb pb1 no-underline dark-gray"
>{{ .Site.Title }}</a
>{{ .Site.Params.Title }}</a
>
<span class="b"> / </span>
<a href="/tags" class="b bw1 bb pb1 no-underline dark-gray">tags</a>
Expand Down

0 comments on commit 2b317c7

Please sign in to comment.