Skip to content

Commit

Permalink
SEO optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
x1y committed Mar 1, 2024
1 parent 564fb78 commit 32fcf88
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions themes/pinetheme/layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

<title>{{ $title }}</title>

<meta name="description" content="{{.Description | default .Site.Params.SiteDescription}}">

<!-- Open Graph template -->
{{- template "_internal/opengraph.html" . -}}

Expand Down
2 changes: 1 addition & 1 deletion themes/pinetheme/layouts/shortcodes/box_news.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h2>{{ .Title }}</h2>

<br>
<div>
<a href="{{ .RelPermalink }}" aria-label="Read more">Read more</a>
<a href="{{ .RelPermalink }}" aria-label="Read more">Read the full news</a>
</div>
</div>
</a>
Expand Down
2 changes: 1 addition & 1 deletion themes/pinetheme/layouts/shortcodes/slide.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h1>{{ $title | safeHTML }}</h1>
<span>{{ $text | safeHTML }}</span>

<br><br><br>
<a href="{{ $link }}">Learn more</a>
<a href="{{ $link }}">View the details</a>
</div>
</div>
</div>
Expand Down

0 comments on commit 32fcf88

Please sign in to comment.