Pārlūkot izejas kodu

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 pirms 7 gadiem
vecāks
revīzija
de8ccb0806
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. +2
    -0
      layouts/partials/header.html

+ 2
- 0
layouts/partials/header.html Parādīt failu

@@ -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>


Notiek ielāde…
Atcelt
Saglabāt