ソースを参照

Add generator tag and comment link to theme code

How to preserve HTML comments in Go templates:

https://discourse.gohugo.io/t/how-to-add-comments-in-a-template/75/8
master
Adrian Short 6年前
コミット
de8ccb0806
1個のファイルの変更2行の追加0行の削除
  1. +2
    -0
      layouts/partials/header.html

+ 2
- 0
layouts/partials/header.html ファイルの表示

@@ -2,6 +2,8 @@
<html>
<head>
<title>{{ .Site.Title }}</title>
{{ .Hugo.Generator }}
{{ "<!-- Tumble theme for Hugo: https://github.com/adrianshort/tumble -->" | safeHTML }}
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{{ relURL "/css/main.css" }}">
</head>


読み込み中…
キャンセル
保存