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>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta charset="utf-8">
|
||||
<title>Example HTML5 Document</title>
|
||||
</head>
|
||||
<body>
|
||||
|
@@ -3,8 +3,8 @@
|
||||
{{ $favicon := resources.Get .Site.Params.favicon.logo -}}
|
||||
{{ range $i := .Site.Params.favicon.sizes -}}
|
||||
{{ $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 -}}
|
||||
{{ $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 -}}
|
@@ -29,7 +29,7 @@
|
||||
{{ 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" }}">
|
||||
|
||||
{{ with .Params.audio -}}
|
||||
|
Reference in New Issue
Block a user