Skip to content

Commit

Permalink
close a div and remove useless trailing slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
M1cR0xf7 committed Apr 9, 2024
1 parent 0649f4c commit 821b4aa
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
14 changes: 7 additions & 7 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="referrer" content="no-referrer">
<meta property="og:site_name" content="{{ .Site.Title }}" />
<meta property="og:locale" content="en_US" />
<meta property="og:site_name" content="{{ .Site.Title }}">
<meta property="og:locale" content="en_US">

{{ template "_internal/opengraph.html" . }}

<meta name="twitter:card" content="{{ .Params.cardtype | default "summary_large_image" }}" />
<meta name="twitter:card" content="{{ .Params.cardtype | default "summary_large_image" }}">
{{ if .Site.Params.twitter }}
<meta name="twitter:site" content="@{{ .Site.Params.twitter }}">
<meta name="twitter:creator" content="@{{ .Site.Params.twitter }}">
{{ end }}
<meta name="twitter:title" content="{{ .Title | default .Site.Title }}" />
<meta name="twitter:description" content="{{ .Description | default .Site.Params.description }}" />
<meta name="twitter:title" content="{{ .Title | default .Site.Title }}">
<meta name="twitter:description" content="{{ .Description | default .Site.Params.description }}">
{{ partial "meta" . }}
<meta name="twitter:image" content="{{ .Site.BaseURL }}{{ .Params.meta_img | default .Site.Params.logofile }}" />
<meta name="twitter:image" content="{{ .Site.BaseURL }}{{ .Params.meta_img | default .Site.Params.logofile }}">
<link rel="canonical" href="{{ .Permalink }}">
{{ partial "styles" . }}
{{ if .Site.Params.faviconpath }}
Expand All @@ -34,7 +34,7 @@
{{ end }}

{{- with .OutputFormats.Get "rss" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}

</head>
Expand Down
1 change: 1 addition & 0 deletions layouts/partials/globallist.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ <h4 class="meta-title">
<time class="meta-data middot" datetime="{{ .Date.Format (.Site.Params.dateform | default "2006-01-02") }}">
{{ .Date.Format (.Site.Params.dateform | default "2006/01/02") }}
</time>
</div>
</li>
{{ end }}
</ul>
4 changes: 2 additions & 2 deletions layouts/partials/styles.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{{- $sitecss := resources.Get "css/site.css" | resources.Minify }}
<link rel="stylesheet" href="{{ $sitecss.RelPermalink }}" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/custom.css" />
<link rel="stylesheet" href="{{ $sitecss.RelPermalink }}">
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/custom.css">

0 comments on commit 821b4aa

Please sign in to comment.