Kaynağa Gözat

make the author and description configurable

tags/v1.0.0
Ben Kiefer 6 yıl önce
ebeveyn
işleme
2bd76d20cf
1 değiştirilmiş dosya ile 5 ekleme ve 5 silme
  1. 5
    5
      layouts/partials/header.html

+ 5
- 5
layouts/partials/header.html Dosyayı Görüntüle

@@ -1,10 +1,10 @@
<!DOCTYPE html>
<html class="no-js" lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="Meghna One page parallax responsive HTML Template ">
<meta name="author" content="Themefisher">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="{{if .IsHome}}{{ $.Site.Params.description }}{{else}}{{.Description}}{{end}}">
<meta name="author" content="{{ $.Site.Params.author }}">
{{ "<!-- Mobile Specific Meta -->" | safeHTML }}
<meta name="viewport" content="width=device-width, initial-scale=1">
{{ .Hugo.Generator }}
@@ -31,4 +31,4 @@

</head>
{{"<!-- body start -->" | safeHTML}}
<body id="body" data-spy="scroll" data-target=".navbar" data-offset="50"></body>
<body id="body" data-spy="scroll" data-target=".navbar" data-offset="50"></body>

Loading…
İptal
Kaydet