summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorAlejandro <[email protected]>2024-08-23 14:58:07 -0600
committerAlejandro <[email protected]>2024-08-23 14:58:07 -0600
commit024c806af5fa45e547a9062563db2110046a5b3a (patch)
treecd78eda059ebc2aaea47685c6c1a9aa6c3dc13f0 /layouts
parentb3e842745ba3205c7ad6f5ae11494b7e74f08d97 (diff)
added: home page layoutHEADmaster
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/home.html41
1 files changed, 41 insertions, 0 deletions
diff --git a/layouts/_default/home.html b/layouts/_default/home.html
new file mode 100644
index 0000000..dd057ef
--- /dev/null
+++ b/layouts/_default/home.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html lang="{{ .Site.Language }}">
+<head>
+ <!--010C050A010E04120F0D0103090113060F0E13050301-->
+ <title>{{ if not .IsHome }}{{ .Title | title }} | {{ end }}{{ .Site.Title }}</title>
+ <link rel="canonical" href="{{ .Site.BaseURL }}">
+ <link rel='alternate' type='application/rss+xml' title="{{ .Site.Title }} RSS" href='/index.xml'>
+ <link rel='stylesheet' type='text/css' href='/style.css'>
+ {{ with .Site.Params.favicon }}<link rel="icon" href="{{ . }}">
+ {{ end -}}
+ <meta name="description" content="{{ with .Params.description }}{{ . }}{{ else }}{{ .Summary }}{{ end }}">
+ {{ if isset .Params "tags" }}<meta name="keywords" content="{{ with .Params.tags }}{{ delimit . ", " }}{{ end }}">
+ {{ end -}}
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="robots" content="index, follow">
+ <meta charset="utf-8">
+
+ <meta property="og:site_name" content="{{ if not .IsHome }}{{ .Title | title }} | {{ end }}{{ .Site.Title }}">
+ <meta name="og:title" property="og:title" content="{{ if not .IsHome }}{{ .Title | title }} | {{ end }}{{ .Site.Title }}">
+ <meta property="og:description" content="{{ with .Params.description }}{{ . }}{{ else }}{{ .Summary }}{{ end }}">
+ <meta name="og:image" content="https://link-to-an-image-that-represents-your-site">
+</head>
+<body>
+{{ if .Site.Menus.main }}{{ partial "nav.html" . }}{{ end -}}
+<main>
+<header><h1 id="tag_{{ .Title }}">{{ block "title" . }}{{ end }}</h1></header>
+<article>
+{{ block "main" . }}
+{{ .Content }}
+{{ end }}
+</article>
+</main>
+{{ block "footer" . }}
+<footer>
+ <p>Hecho por Centro de Desarrollo</p>
+ <p>©{{ now.Year }}</p>
+ {{- if .Param "showrss" }}<br><br><a href="./index.xml"><img src="/rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>{{ end }}
+</footer>
+{{ end }}
+</body>
+</html>