소스 검색

make the author and description configurable

tags/v1.0.0
Ben Kiefer 6 년 전
부모
커밋
2bd76d20cf
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5
    5
      layouts/partials/header.html

+ 5
- 5
layouts/partials/header.html 파일 보기

@@ -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…
취소
저장