Ver a proveniência

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 há 6 anos
ascendente
cometimento
de8ccb0806
1 ficheiros alterados com 2 adições e 0 eliminações
  1. +2
    -0
      layouts/partials/header.html

+ 2
- 0
layouts/partials/header.html Ver ficheiro

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


Carregando…
Cancelar
Guardar