diff --git a/content/about/_index.md b/content/about/_index.md new file mode 100644 index 0000000..e69de29 diff --git a/themes/plain/layouts/_default/baseof.html b/themes/plain/layouts/_default/baseof.html index ea85135..b663509 100644 --- a/themes/plain/layouts/_default/baseof.html +++ b/themes/plain/layouts/_default/baseof.html @@ -31,46 +31,50 @@ - -{{ if .IsHome }} - {{- partial "home.html" . -}} -{{ else }} - {{ if eq .Page.Path "blog" }} -
- -

{{ .Site.Title }}

-
-
- {{ else if not .Page.IsPage }} -
- {{ $path := "" }} - {{ with .Page.File }} - {{ $path = .Dir }} - {{ end }} - {{ $segments := split $path "/" }} - {{ $currentPath := "" }} - {{ range $index, $element := $segments }} - {{ if ne $element "" }} - {{ if $index }} - / - {{ end }} - {{ $currentPath = printf "%s/%s" $currentPath $element }} - - {{ $element }} - - {{ end }} - {{ end }} - / - -
+ + {{ if .IsHome }} + {{- partial "home.html" . -}} + {{ else if eq .Page.File.Dir "about/" }} + {{- partial "about.html" . -}} + {{ else }} +
+ {{ if eq .Page.Path "blog" }} +
+ +

{{ .Site.Title }}

+
+
+ {{ else if not .Page.IsPage }} +
+ {{ $path := "" }} + {{ with .Page.File }} + {{ $path = .Dir }} {{ end }} + {{ $segments := split $path "/" }} + {{ $currentPath := "" }} + {{ range $index, $element := $segments }} + {{ if ne $element "" }} + {{ if $index }} + / + {{ end }} + {{ $currentPath = printf "%s/%s" $currentPath $element }} + + {{ $element }} + + {{ end }} + {{ end }} + / + +
+ {{ end }}
{{- block "main" . }}{{- end }}
- -{{ end }} +
+ + {{ end }} diff --git a/themes/plain/layouts/_default/list.html b/themes/plain/layouts/_default/list.html index 6793cb8..84884ec 100644 --- a/themes/plain/layouts/_default/list.html +++ b/themes/plain/layouts/_default/list.html @@ -21,7 +21,7 @@ {{ range $pages }}
  • - {{ .Date.Format "2006-01-02" }} | + {{ .Date.Format "2006-01-02" }} | {{ .Title }}
  • diff --git a/themes/plain/layouts/partials/about.html b/themes/plain/layouts/partials/about.html new file mode 100644 index 0000000..7e5a14c --- /dev/null +++ b/themes/plain/layouts/partials/about.html @@ -0,0 +1,47 @@ + + +
    +
    +

    Hi, I'm Morgan.

    + Just oridinary univ student, who likes to do anything related to computers. +

    + I do PCB/FPGA system design and (Hardware) Cryptography. +
    + I use Python and C (for sure), and very little bit of Rust. +
    + I'm interested in High-performance Networking, and I really want to learn Hardware Security. +
    + I am strong Linux enthusiast, and I do open-source projects in my free time. +

    + I'm still learing anyway, so I'll try to learn more and more things. +
    +
    \ No newline at end of file diff --git a/themes/plain/layouts/partials/home.html b/themes/plain/layouts/partials/home.html index f927b97..b116419 100644 --- a/themes/plain/layouts/partials/home.html +++ b/themes/plain/layouts/partials/home.html @@ -1,5 +1,10 @@ -
    +

    Morgan J.

    Average Linux user