aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/_markup/render-heading.html4
-rw-r--r--layouts/_default/baseof.html19
-rw-r--r--layouts/_default/list.html3
-rw-r--r--layouts/_default/list.md1
-rw-r--r--layouts/_default/single.html3
5 files changed, 30 insertions, 0 deletions
diff --git a/layouts/_default/_markup/render-heading.html b/layouts/_default/_markup/render-heading.html
new file mode 100644
index 0000000..6023eb1
--- /dev/null
+++ b/layouts/_default/_markup/render-heading.html
@@ -0,0 +1,4 @@
+<h{{ .Level }} id="{{ .Anchor | safeURL }}">
+ <a class="anchor" href="#{{ .Anchor | safeURL }}">#</a>
+ {{ .Text | safeHTML }}
+</h{{ .Level }}>
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
new file mode 100644
index 0000000..a4c2f56
--- /dev/null
+++ b/layouts/_default/baseof.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>{{ .Page.Title }} - Ariel Costas</title>
+</head>
+
+<body>
+ {{ partial "partials/header.html" . }}
+
+ {{ block "main" . }}
+ {{ end }}
+
+ {{ partial "partials/footer.html" . }}
+</body>
+
+</html> \ No newline at end of file
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
new file mode 100644
index 0000000..c1339be
--- /dev/null
+++ b/layouts/_default/list.html
@@ -0,0 +1,3 @@
+{{ define "main" }}
+ {{ .Content }}
+{{ end }}
diff --git a/layouts/_default/list.md b/layouts/_default/list.md
new file mode 100644
index 0000000..a4ec683
--- /dev/null
+++ b/layouts/_default/list.md
@@ -0,0 +1 @@
+{{ .Content|markdownify}} \ No newline at end of file
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
new file mode 100644
index 0000000..c1339be
--- /dev/null
+++ b/layouts/_default/single.html
@@ -0,0 +1,3 @@
+{{ define "main" }}
+ {{ .Content }}
+{{ end }}