mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 16:14:05 +00:00
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:
1 parent
1f6beec9f7
commit
0d8d0d43a1
2 files changed
+4
-4
No files matched your search
@@ -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">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* List of all authors. */}}
|
||||
|
||||
{{- define "main" -}}
|
||||
|
||||
{{/* List of all authors. */}}
|
||||
|
||||
{{ partial "page_header.html" . }}
|
||||
|
||||
<div class="universal-wrapper">
|
||||
|
||||
Reference in new issue
Block a user