Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed theme + migrated to newer Hugo features #70

Merged
merged 5 commits into from
Dec 9, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
🐛 Fix contact form; ExecuteAsTemplate
This bug came up while developing git.io/osprey-delight.
So I decided to fix it here, too.
  • Loading branch information
kdevo committed Nov 24, 2019
commit 52255bf38caef32fa66ccfeb7103424264ccae99
2 changes: 1 addition & 1 deletion layouts/partials/body-bottom.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{{ if .IsHome }}
<script src="{{ (resources.Get "js/src/index.js" | minify | fingerprint).Permalink }}" type="text/javascript"></script>
{{ if or (and (.Site.Params.ajaxFormspree) (.Site.Params.ajaxFormspreeGold)) (.Site.Params.ajaxBasin) }}
<script>{{ (resources.Get "js/src/contact.js" | minify | fingerprint).Content | safeJS }}</script>
<script>{{ (resources.Get "js/src/contact.js" | resources.ExecuteAsTemplate "js/src/contact.js" . | minify | fingerprint).Content | safeJS }}</script>
{{ end }}
{{ else }}
<script src="{{ (resources.Get "js/src/main.js" | minify | fingerprint).Permalink }}" type="text/javascript"></script>
Expand Down