diff options
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/_default/baseof.html | 9 | ||||
| -rw-r--r-- | layouts/blog/list.html | 2 | ||||
| -rw-r--r-- | layouts/home/list.html | 2 | ||||
| -rw-r--r-- | layouts/partials/header.html | 2 |
4 files changed, 12 insertions, 3 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 91e6152..115b754 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -2,10 +2,19 @@ <html lang="es"> <head> + <base href="{{ .Site.BaseURL }}"> + <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>{{ .Page.Title }} - Ariel Costas</title> + <meta name="description" content="{{ .Page.Description }}"> + + <meta property="og:title" content="{{ .Page.Title }} - Ariel Costas"> + <meta property="og:description" content="{{ .Page.Description }}"> + <meta property="og:type" content="website"> + <meta property="og:url" content="{{ .Permalink }}"> + {{ $stylesheetOptions := dict "transpiler" "libsass" }} {{ $stylesheet := resources.Get "css/base.scss" | resources.ToCSS $stylesheetOptions | minify }} <link rel="stylesheet" href='{{ $stylesheet.RelPermalink }}'> diff --git a/layouts/blog/list.html b/layouts/blog/list.html index 627dd4a..055f302 100644 --- a/layouts/blog/list.html +++ b/layouts/blog/list.html @@ -5,7 +5,7 @@ {{ range .Pages.ByLastmod }} <li> <time datetime="{{ .Date.Format "2006-01-02T15:04:05-07:00" }}">{{ .Date.Format "2006-01-02" }}</time> - <a href="{{ .Permalink }}">{{ .Page.Title }}</a> + <a href="{{ .RelPermalink }}">{{ .Page.Title }}</a> </li> {{ end }} </ul> diff --git a/layouts/home/list.html b/layouts/home/list.html index 95f13a6..af3dbeb 100644 --- a/layouts/home/list.html +++ b/layouts/home/list.html @@ -10,7 +10,7 @@ <ul> {{ range .Pages }} - <li>{{ .PublishDate.Format "02/01" }} <a href="{{ .Permalink }}">{{ .Title }}</a></li> + <li>{{ .PublishDate.Format "02/01" }} <a href="{{ .RelPermalink }}">{{ .Title }}</a></li> {{ end }} </ul> {{ end }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 55002b1..9e51d9b 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -7,7 +7,7 @@ <nav> {{ range .Site.Home.Pages }} - <a href="{{ .Permalink }}">{{ .Title }}</a> + <a href="{{ .RelPermalink }}">{{ .Title }}</a> {{ end }} </nav> </header>
\ No newline at end of file |
