Просмотр исходного кода

Merge pull request #43 from excitoon/head_custom

Added head_custom partial.
tags/v1.0.0
Mehedi Sharif Titas 6 лет назад
Родитель
Сommit
9b324a2ec6
Аккаунт пользователя с таким Email не найден
2 измененных файлов: 5 добавлений и 0 удалений
  1. 1
    0
      layouts/partials/head.html
  2. 4
    0
      layouts/partials/head_custom.html

+ 1
- 0
layouts/partials/head.html Просмотреть файл

@@ -33,4 +33,5 @@
<link rel="stylesheet" href="{{ . | absURL }}">
{{ end }}

{{- partial "head_custom.html" . }}
</head>

+ 4
- 0
layouts/partials/head_custom.html Просмотреть файл

@@ -0,0 +1,4 @@
<!--
If you want to include any custom html just before </head>, put it in /layouts/partials/head_custom.html
Do not put anything in this file - it's only here so that hugo won't throw an error if /layouts/partials/head_custom.html doesn't exist.
-->

Загрузка…
Отмена
Сохранить