Browse Source

Update deprecated things

master
Adrian Short 4 years ago
parent
commit
ae4576d777
Signed by: adrian GPG Key ID: 4B54F9AE91AB06BB
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      layouts/partials/header.html

+ 2
- 2
layouts/partials/header.html View File

@@ -2,13 +2,13 @@
<html> <html>
<head> <head>
<title>{{- partial "data/title" . -}}</title> <title>{{- partial "data/title" . -}}</title>
{{ .Hugo.Generator }}
{{ hugo.Generator }}
{{ "<!-- Author theme for Hugo: https://github.com/adrianshort/author -->" | safeHTML }} {{ "<!-- Author theme for Hugo: https://github.com/adrianshort/author -->" | safeHTML }}
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8"> <meta charset="utf-8">
<link rel="stylesheet" href="{{ relURL "/css/main.css?4" }}"> <link rel="stylesheet" href="{{ relURL "/css/main.css?4" }}">
<link rel="alternate" type="application/rss+xml" title="{{ partial "data/title" . }}" <link rel="alternate" type="application/rss+xml" title="{{ partial "data/title" . }}"
href="{{ .RSSLink }}">
href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}">
{{- template "_internal/opengraph.html" . -}} {{- template "_internal/opengraph.html" . -}}
{{ with .Params.image }} {{ with .Params.image }}
<meta name="og:image" content="{{ "/images/" | absURL }}{{ .}}"> <meta name="og:image" content="{{ "/images/" | absURL }}{{ .}}">


Loading…
Cancel
Save