Update Hugo to a newer version supported by GitLab Pages

This commit is contained in:
James Skemp 2023-02-11 17:37:58 -06:00
parent 22c71bc924
commit e400e2098a
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
image: publysher/hugo
image: registry.gitlab.com/pages/hugo/hugo_extended:0.105.0
pages:
script:
@ -7,4 +7,4 @@ pages:
paths:
- public
only:
- master
- master

View File

@ -3,6 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
{{ hugo.Generator }}
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>{{ if isset .Params "title" }}{{ .Title }}{{ else if isset .Params "name" }}{{ .Params.name }} - {{ .Site.Title }}{{ else }}{{ .Site.Title }} {{ end }}</title>
<meta name="application-name" content="Log Parser Plus - Queries to help you analyze logs"/>
@ -15,6 +16,7 @@
<link href="/Content/Site.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="/Scripts/jquery-migrate-1.1.1.min.js"></script>
<script async defer data-website-id="4cac43ff-054c-470e-a654-8adb6ef80b25" src="https://a.jamesrskemp.com/custom.js"></script>
<script type="text/javascript">
var _gaq = [['_setAccount', 'UA-541034-13'], ['_trackPageview'], ['_trackPageLoadTime']];
(function (d, t) {
@ -24,12 +26,10 @@
} (document, 'script'));
window.google_analytics_uacct = "UA-541034-13";
</script>
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
<link rel="stylesheet" href="/css/style.css">
{{ if .RSSLink -}}<link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}">{{- end }}
{{ .Hugo.Generator }}
<link href="/index.xml" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
</head>
<body>
<div id="siteWrapper">