Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
subugoe
ahiqar
api-documentation
Commits
d8759be7
Verified
Commit
d8759be7
authored
Apr 06, 2022
by
Mathias Goebel
🎠
Browse files
fix: prepare for newer hugo version
co-authored-by:
@mrodzis
parent
d32c1a3d
Changes
3
Hide whitespace changes
Inline
Side-by-side
themes/beautifulhugo/i18n/en.yaml
View file @
d8759be7
# Content
-
id
:
dateFormat
translation
:
"
January
2,
2006"
-
id
:
postedOnDate
translation
:
"
Posted
on
{{
.Count
}}"
-
id
:
translationsLabel
translation
:
"
Other
languages:
"
-
id
:
translationsSeparator
...
...
@@ -24,7 +22,8 @@
# Footer
-
id
:
poweredBy
# Accepts HTML
translation
:
'
<a
href="http://gohugo.io">Hugo
v{{
.Hugo.Version
}}</a>
powered
•
Theme
by
<a
href="http://deanattali.com/beautiful-jekyll/">Beautiful
Jekyll</a>
adapted
to
<a
href="https://github.com/halogenica/beautifulhugo">Beautiful
Hugo</a>'
translation
:
'
<a
href="http://gohugo.io">Hugo</a>
powered
•
Theme
by
<a
href="http://deanattali.com/beautiful-jekyll/">Beautiful
Jekyll</a>
adapted
to
<a
href="https://github.com/halogenica/beautifulhugo">Beautiful
Hugo</a>'
# Navigation
-
id
:
toggleNavigation
...
...
themes/beautifulhugo/layouts/_default/list.html
View file @
d8759be7
...
...
@@ -59,20 +59,6 @@
</article>
{{ end }}
</div>
{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
<ul
class=
"pager main-pager"
>
{{ if .Paginator.HasPrev }}
<li
class=
"previous"
>
<a
href=
"{{ .URL }}page/{{ .Paginator.Prev.PageNumber }}"
>
←
{{ i18n "newerPosts" }}
</a>
</li>
{{ end }}
{{ if .Paginator.HasNext }}
<li
class=
"next"
>
<a
href=
"{{ .URL }}page/{{ .Paginator.Next.PageNumber }}"
>
{{ i18n "olderPosts" }}
→
</a>
</li>
{{ end }}
</ul>
{{ end }}
</div>
</div>
</div>
...
...
themes/beautifulhugo/layouts/partials/head.html
View file @
d8759be7
...
...
@@ -30,13 +30,9 @@
{{- with .Site.Params.fb_app_id }}
<meta
property=
"fb:app_id"
content=
"{{ . }}"
/>
{{- end }}
<meta
property=
"og:url"
content=
"{{ .URL | absLangURL }}"
/>
<meta
property=
"og:type"
content=
"website"
/>
<meta
property=
"og:site_name"
content=
"{{ .Site.Title }}"
/>
<!-- Hugo Version number -->
{{ .Hugo.Generator -}}
<!-- Links and stylesheets -->
<link
rel=
"canonical"
href=
"{{ .URL | absLangURL }}"
/>
<link
rel=
"alternate"
href=
"{{ "
index.xml
"
|
absLangURL
}}"
type=
"application/rss+xml"
title=
"{{ .Site.Title }}"
>
<link
rel=
"stylesheet"
href=
"https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.css"
integrity=
"sha384-wITovz90syo1dJWVh32uuETPVEtGigN07tkttEqPv+uR2SE/mbQcG7ATL28aI9H0"
crossorigin=
"anonymous"
>
<link
rel=
"stylesheet"
href=
"https://use.fontawesome.com/releases/v5.0.13/css/all.css"
integrity=
"sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp"
crossorigin=
"anonymous"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment