Skip to content

Commit

Permalink
Merge pull request #238 from mismith0227/develop
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
mismith0227 authored Jul 9, 2024
2 parents cefcae5 + 86d335c commit 4510537
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion layouts/_default/single.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ partial "header.html" . }}
{{ $baseurl := .Site.BaseURL | sanitizeurl }}
{{ $baseurl := .Site.BaseURL | urlize }}
<article class="p-article">
<header>
<h1>{{ .Title }}</h1>
Expand Down
2 changes: 1 addition & 1 deletion layouts/_default/terms.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ partial "header.html" . }}
{{ $baseurl := .Site.BaseURL | sanitizeurl }}
{{ $baseurl := .Site.BaseURL | urlize }}
<section>
<h2>{{ .Title }}</h2>
<ul>
Expand Down
6 changes: 1 addition & 5 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,8 @@
<!-- Hugo Version Number -->
{{ hugo.Generator -}}

{{ if not .Site.IsServer }}
{{ if hasPrefix .Site.GoogleAnalytics "G-"}}
{{ if not hugo.IsServer }}
{{ template "_internal/google_analytics.html" . }}
{{ else }}
{{ template "_internal/google_analytics_async.html" . }}
{{ end }}
{{ end }}

<link rel="stylesheet" href="{{ .Site.BaseURL }}css/style.css" />
Expand Down

0 comments on commit 4510537

Please sign in to comment.