Refactor exp into var

This commit is contained in:
Will Faught
2025-02-14 13:02:46 -08:00
parent f6265181f8
commit 8ec197ba78

View File

@@ -30,7 +30,9 @@
<meta content="{{ $color }}" name="msapplication-TileColor">
{{ if $exists }}
<meta content="{{ (resources.Get `browserconfig.xml` | resources.ExecuteAsTemplate `browserconfig.xml` .).RelPermalink }}" name="msapplication-config">
{{ $content := (resources.Get `browserconfig.xml` | resources.ExecuteAsTemplate `browserconfig.xml` $page).RelPermalink }}
<meta content="{{ $content }}" name="msapplication-config">
{{ end }}
<meta content="https://github.com/willfaught/paige" name="theme">