mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-12-22 14:42:54 +00:00
File context warning fixed (#153)
This commit is contained in:
parent
4c19d875de
commit
46f2ab37d4
1 changed files with 2 additions and 0 deletions
|
@ -55,6 +55,7 @@
|
|||
|
||||
{{ range sort $pages "Params.weight" }}
|
||||
{{ if ne .Name "contact.md" }}
|
||||
{{ if .File }}
|
||||
{{ if eq .File.Dir "projects/" }}
|
||||
<!-- Now for some cool projects -->
|
||||
{{ partial "home/projects.html" . }}
|
||||
|
@ -95,6 +96,7 @@
|
|||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<!-- Let`s chat, shall we? -->
|
||||
{{ with .Resources.GetMatch "contact.md" }}
|
||||
<div class="section" id="{{ .File.TranslationBaseName }}">
|
||||
|
|
Loading…
Reference in a new issue