mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-28 19:43:31 +08:00
fix: error file is nil; wrap it in if or with
from Hugo 0.123.0
This commit is contained in:
parent
4a607c1bff
commit
7e650e63b2
@ -1,4 +1,4 @@
|
||||
<article id="{{ .File.UniqueID }}">
|
||||
<article id="{{ with .File }}{{ .UniqueID }}{{ end }}">
|
||||
<a href="{{ .RelPermalink }}">
|
||||
<div class="article-details">
|
||||
<h2 class="article-title">
|
||||
|
Loading…
Reference in New Issue
Block a user