Fix whitespace in templates

pull/31/head
Matt Baer 6 years ago
parent 2b5e869916
commit 3dd6e34914
  1. 2
      templates/collection.tmpl
  2. 2
      templates/post.tmpl

@ -27,7 +27,7 @@
<meta property="og:url" content="{{.CanonicalURL}}" /> <meta property="og:url" content="{{.CanonicalURL}}" />
<meta property="og:description" content="{{.Description}}" /> <meta property="og:description" content="{{.Description}}" />
<meta property="og:image" content="{{.AvatarURL}}"> <meta property="og:image" content="{{.AvatarURL}}">
{{if .StyleSheet}}<style type="text/css">{{.StyleSheetDisplay}}</style>{{end}} {{if .StyleSheet}}<style type="text/css">{{.StyleSheetDisplay}}</style>{{end}}
{{if .RenderMathJax}} {{if .RenderMathJax}}
<!-- Add mathjax logic --> <!-- Add mathjax logic -->

@ -31,10 +31,8 @@
<meta property="og:description" content="{{.Description}}" /> <meta property="og:description" content="{{.Description}}" />
<meta property="og:image" content="https://write.as/img/w-sq-light.png"> <meta property="og:image" content="https://write.as/img/w-sq-light.png">
{{if .Author}}<meta property="article:author" content="https://{{.Author}}" />{{end}} {{if .Author}}<meta property="article:author" content="https://{{.Author}}" />{{end}}
<!-- Add highlighting logic --> <!-- Add highlighting logic -->
{{template "highlighting" .}} {{template "highlighting" .}}
</head> </head>
<body id="post"> <body id="post">

Loading…
Cancel
Save