diff --git a/templates/collection-tags.tmpl b/templates/collection-tags.tmpl index fd37eed..8ef4816 100644 --- a/templates/collection-tags.tmpl +++ b/templates/collection-tags.tmpl @@ -5,8 +5,8 @@ {{.Tag}} — {{.Collection.DisplayTitle}} - - + + {{if not .Collection.IsPrivate}}{{end}} @@ -179,11 +179,11 @@ function pinPost(e, postID, slug, title) { {{end}} try { // Fonts WebFontConfig = { - custom: { families: [ 'Lora:400,700:latin', 'Open+Sans:400,700:latin' ], urls: [ '{{if .IsCustomDomain}}https://files.writeas.org{{end}}/css/fonts.css' ] } + custom: { families: [ 'Lora:400,700:latin', 'Open+Sans:400,700:latin' ], urls: [ '/css/fonts.css' ] } }; (function() { var wf = document.createElement('script'); - wf.src = '{{if .IsCustomDomain}}https://files.writeas.org{{end}}/js/webfont.js'; + wf.src = '/js/webfont.js'; wf.type = 'text/javascript'; wf.async = 'true'; var s = document.getElementsByTagName('script')[0];