mirror of
https://github.com/gethinode/hinode.git
synced 2025-10-16 06:23:11 +00:00
Remove trailing slash on void elements
This commit is contained in:
@@ -88,7 +88,7 @@ Tables aren't part of the core Markdown spec, but Hugo supports supports them ou
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8">
|
||||||
<title>Example HTML5 Document</title>
|
<title>Example HTML5 Document</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@@ -3,8 +3,8 @@
|
|||||||
{{ $favicon := resources.Get .Site.Params.favicon.logo -}}
|
{{ $favicon := resources.Get .Site.Params.favicon.logo -}}
|
||||||
{{ range $i := .Site.Params.favicon.sizes -}}
|
{{ range $i := .Site.Params.favicon.sizes -}}
|
||||||
{{ $image := $favicon.Resize (printf "%dx%d CatmullRom" $i $i) -}}
|
{{ $image := $favicon.Resize (printf "%dx%d CatmullRom" $i $i) -}}
|
||||||
<link rel="icon" type="image/png" sizes="{{$i}}x{{$i}}" href="{{ $image.Permalink }}" />
|
<link rel="icon" type="image/png" sizes="{{$i}}x{{$i}}" href="{{ $image.Permalink }}">
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ $image := $favicon.Resize "180x CatmullRom" -}}
|
{{ $image := $favicon.Resize "180x CatmullRom" -}}
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="{{ $image.Permalink }}" />
|
<link rel="apple-touch-icon" sizes="180x180" href="{{ $image.Permalink }}">
|
||||||
{{ end -}}
|
{{ end -}}
|
@@ -29,7 +29,7 @@
|
|||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
<meta property="og:image" content="{{ $.Scratch.Get "thumbnail" }}"/>
|
<meta property="og:image" content="{{ $.Scratch.Get "thumbnail" }}">
|
||||||
<meta property="og:image:alt" content="{{ $.Scratch.Get "title" }}">
|
<meta property="og:image:alt" content="{{ $.Scratch.Get "title" }}">
|
||||||
|
|
||||||
{{ with .Params.audio -}}
|
{{ with .Params.audio -}}
|
||||||
|
Reference in New Issue
Block a user