diff --git a/themes/plain/layouts/_default/baseof.html b/themes/plain/layouts/_default/baseof.html index f2e2eaf..ea85135 100644 --- a/themes/plain/layouts/_default/baseof.html +++ b/themes/plain/layouts/_default/baseof.html @@ -43,9 +43,11 @@ {{ else if not .Page.IsPage }}
- {{ $path := .Page.File.Dir }} + {{ $path := "" }} + {{ with .Page.File }} + {{ $path = .Dir }} + {{ end }} {{ $segments := split $path "/" }} - {{ $currentPath := "" }} {{ range $index, $element := $segments }} {{ if ne $element "" }} diff --git a/themes/plain/layouts/partials/home.html b/themes/plain/layouts/partials/home.html index 15ded6c..f927b97 100644 --- a/themes/plain/layouts/partials/home.html +++ b/themes/plain/layouts/partials/home.html @@ -1,33 +1,56 @@ -
-
-

Morgan J.

-

Average Linux user

- - - -
- PGP - Git - Blog - Net +
+
+

Morgan J.

+

Average Linux user

+
\ No newline at end of file