feat: add support for Hugo v0.63

Hugo v0.63 introduced breaking changes such as breaking templates that don't immediately begin with a `define` (even if the first line is just a code comment): https://gohugo.io/news/0.63.0-relnotes/

Adds compatibility with Hugo v0.63, fixing author pages rendering blank.
This commit is contained in:
George Cushen committed 2020-01-26 20:29:18 +00:00
1 parent 1f6beec9f7
commit 0d8d0d43a1
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
{{/* Author profile page. */}}
{{- define "main" -}}
{{/* Author profile page. */}}
{{/* If an account has not been created for this user, just display their name as the title. */}}
{{ if not .File }}
<div class="universal-wrapper pt-3">
+2 -2
View File
@@ -1,7 +1,7 @@
{{/* List of all authors. */}}
{{- define "main" -}}
{{/* List of all authors. */}}
{{ partial "page_header.html" . }}
<div class="universal-wrapper">