diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 529edeb..6141206 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,105 +1,18 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ .Title }} | {{ .Site.Title }} - - {{ if .IsHome }} - - {{ end }} - + + {{ partial "head.html" . }} skip to content {{ partial "svg.html" . }}
- + {{ partial "header.html" . }}
- - - {{ if .Page.IsHome }} - - {{ end }} + {{ partial "script.html" . }} diff --git a/layouts/_default/li.html b/layouts/_default/li.html deleted file mode 100644 index b2ec1b7..0000000 --- a/layouts/_default/li.html +++ /dev/null @@ -1,10 +0,0 @@ -
  • -

    - - - {{ .Title }} - -

    -
  • diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 7290243..d3dae91 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -4,9 +4,18 @@ {{ .Title }} {{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..5864862 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,9 @@ + diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..698883b --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + {{ $title := print .Title " | " .Site.Title }} + {{ if .IsHome }} + {{ $title = .Site.Title }} + {{ end }} + + {{ $title }} + + {{ if .IsHome }} + + {{ end }} + diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..fbaf1ae --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,14 @@ + \ No newline at end of file diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html new file mode 100644 index 0000000..1abadca --- /dev/null +++ b/layouts/partials/nav.html @@ -0,0 +1,26 @@ + \ No newline at end of file diff --git a/layouts/partials/script.html b/layouts/partials/script.html new file mode 100644 index 0000000..b0073ef --- /dev/null +++ b/layouts/partials/script.html @@ -0,0 +1,5 @@ + + +{{ if .IsHome }} + +{{ end }} \ No newline at end of file