Commit 3eaaac20 authored by Vitor Lopes's avatar Vitor Lopes

rename meta varibles

parent 597957f6
......@@ -54,20 +54,20 @@
{{ $cssTarget := "/css/style.css" }}
{{ $cssOpts := cond ($inServerMode) (dict "targetPath" $cssTarget "enableSourceMap" true) (dict "targetPath" $cssTarget "outputStyle" "compressed") }}
{{ if $inServerMode }}
{{ $css := $sass | toCSS $cssOpts | fingerprint}}
{{ $css := $sass | toCSS $cssOpts | fingerprint }}
<link rel="stylesheet" href="{{ $css.Permalink | absURL }}?v={{ .Site.Params.website_version }}" integrity="{{ $css.Data.Integrity }}" media="screen">
{{ else }}
{{ $css := $sass | toCSS $cssOpts | resources.PostCSS }}
{{ $css := $sass | toCSS $cssOpts | resources.PostCSS | resources.Minify }}
<link href="{{ $css.Permalink }}?v={{ .Site.Params.website_version }}" rel="preload" as="style"/>
<link href="{{ $css.Permalink }}?v={{ .Site.Params.website_version }}" rel="stylesheet" media="screen"/>
{{ end }}
<!-- Essential META Tags -->
<meta name="description" content="{{if .IsHome}}{{ $.Site.Params.description }}{{else}}{{.Description}}{{end}}" />
<meta name="keywords" content="{{ with .Keywords }}{{ . }}{{ else }}{{ .Site.Params.keywords }}{{ end }}">
<meta name="description" content="{{if .IsHome}}{{ $.Site.Params.meta_description }}{{else}}{{.Params.meta_description}}{{end}}" />
<meta name="keywords" content="{{ with .Params.meta_keywords }}{{ . }}{{ else }}{{ .Site.Params.meta_keywords }}{{ end }}">
<meta property="og:title" content="Manjaro - {{ .Title }}">
<meta property="og:description" content="{{if .IsHome}}{{ $.Site.Params.description }}{{else}}{{.Description}}{{end}}">
<meta property="og:description" content="{{if .IsHome}}{{ $.Site.Params.meta_description }}{{else}}{{.Params.meta_description}}{{end}}">
<meta property="og:image" content="{{ .Site.BaseURL }}{{ .Params.thumbnail }}">
<meta property="og:url" content="{{ .Permalink }}">
<meta name="twitter:card" content="{{ .Params.twitter_summary }}">
......
......@@ -22,8 +22,8 @@ DefaultContentLanguage = "en-us"
custom_css = ["css/highlight.min.css"]
custom_js = []
date_format = "Mon, Jan 2, 2006"
description = "Free fast and secure Linux based operating system for everyone, suitable replacement to Windows or MacOS with different Desktop Environments"
keywords = "manjaro linux, based on arch linux, free operating system"
meta_description = "Free fast and secure Linux based operating system for everyone, suitable replacement to Windows or MacOS with different Desktop Environments"
meta_keywords = "manjaro linux, based on arch linux, free operating system"
# options for highlight.js (version, additional languages, and theme)
highlightjsVersion = "9.10.0"
......
......@@ -4,8 +4,8 @@ draft = false
title = "Donate"
type = "donate"
button_donate_text = "Using Paypal"
description = "How can you help keep Manjaro Linux running by donating"
keywords = "donating manjaro linux, helping manjaro linux, contribute manjaro linux"
meta_description = "How can you help keep Manjaro Linux running by donating"
meta_keywords = "donating manjaro linux, helping manjaro linux, contribute manjaro linux"
+++
### Why does Manjaro ask for donations
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment