mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-21 13:39:30 -07:00
feat: use absolute URLs for assets
closes #473, closes #476 Signed-off-by: Sped0n <hi@sped0n.com>
This commit is contained in:
@@ -1,22 +1,22 @@
|
||||
{{/* Title */}}
|
||||
{{- /* Title */ -}}
|
||||
{{- $page_title := "" -}}
|
||||
{{- with partial "function/currentMenuItem.html" . -}}
|
||||
{{ $page_title = printf "%s" site.Title | printf "%s%s" " | " | printf "%s%s" .Title | printf "%s" }}
|
||||
{{- $page_title = printf "%s" site.Title | printf "%s%s" " | " | printf "%s%s" .Title | printf "%s" -}}
|
||||
{{- end -}}
|
||||
<title>{{ $page_title }}</title>
|
||||
<title>{{- $page_title -}}</title>
|
||||
|
||||
{{/* Basic */}}
|
||||
<meta name="Description" content="{{ site.Params.description }}" />
|
||||
<meta name="application-name" content="{{ $page_title }}" />
|
||||
<meta name="apple-mobile-web-app-title" content="{{ $page_title }}" />
|
||||
{{- /* Basic */ -}}
|
||||
<meta name="Description" content="{{- site.Params.description -}}" />
|
||||
<meta name="application-name" content="{{- $page_title -}}" />
|
||||
<meta name="apple-mobile-web-app-title" content="{{- $page_title -}}" />
|
||||
|
||||
{{/* Opengraph */}}
|
||||
<meta property="og:title" content="{{ $page_title }}" />
|
||||
<meta name="twitter:title" content="{{ $page_title }}" />
|
||||
{{- /* Opengraph */ -}}
|
||||
<meta property="og:title" content="{{- $page_title -}}" />
|
||||
<meta name="twitter:title" content="{{- $page_title -}}" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="{{ .Permalink }}" />
|
||||
<meta property="og:description" content="{{ site.Params.description }}" />
|
||||
<meta name="twitter:description" content="{{ site.Params.description }}" />
|
||||
<meta property="og:url" content="{{- .Permalink -}}" />
|
||||
<meta property="og:description" content="{{- site.Params.description -}}" />
|
||||
<meta name="twitter:description" content="{{- site.Params.description -}}" />
|
||||
|
||||
{{/* Generator */}}
|
||||
{{ hugo.Generator }}
|
||||
{{- /* Generator */ -}}
|
||||
{{- hugo.Generator -}}
|
||||
|
||||
Reference in New Issue
Block a user