diff options
author | mms <git@sapka.me> | 2024-12-02 21:16:31 +0100 |
---|---|---|
committer | mms <git@sapka.me> | 2024-12-02 21:16:31 +0100 |
commit | 9d4e85ca5a6199d6b8888900ea01b4270c995933 (patch) | |
tree | 2bbcb32c2f10b42846146cb752cc1633fc3be942 /themes | |
parent | 8535da356fec8861384fe7e74f2d44200b20ee96 (diff) |
feat: new HP
Diffstat (limited to 'themes')
-rw-r--r-- | themes/24-unification/layouts/_default/baseof.html | 5 | ||||
-rw-r--r-- | themes/24-unification/layouts/_default/index.html | 39 |
2 files changed, 42 insertions, 2 deletions
diff --git a/themes/24-unification/layouts/_default/baseof.html b/themes/24-unification/layouts/_default/baseof.html index d660f8a..1052492 100644 --- a/themes/24-unification/layouts/_default/baseof.html +++ b/themes/24-unification/layouts/_default/baseof.html @@ -520,11 +520,12 @@ nav.horizontal { } } + } @media only screen and (max-width: 800px) { main { - padding: 10px; + margin: 0; + padding: 2px; } - } </style> </head> diff --git a/themes/24-unification/layouts/_default/index.html b/themes/24-unification/layouts/_default/index.html new file mode 100644 index 0000000..b168a8e --- /dev/null +++ b/themes/24-unification/layouts/_default/index.html @@ -0,0 +1,39 @@ +{{ define "main" }} +{{ $oldDate := "aaa" }} +<article> + <div class="all"> + <h2>CrysSITE</h2> + <p> + est. 2022 + </p> + <hr> + <p> + Hello and welcome! + My name is Michal and this is my personal website. + I am a software engineer from southern Poland. + There's quite a lot here, as you can see bellow, but this does not include things like <a href="/contact">contact</a> or <a href="/mirror/userfriendly">mirrors of other pages</a>. + You can jump to dedicated sections using the menu on the left (or, on top, if you surf the web using a mobile phone). + </p> + + <p> + Nothing here was created with the use of GenAI. + </p> + {{ range where .Site.RegularPages.ByDate.Reverse ".Params.nolist" "<>" true }} + {{$newDate := .PublishDate.Format "2006"}} + + {{ if not (eq $oldDate $newDate) }} + {{ if not (eq $oldDate "aaa") }} </ul>{{ end }} + <ul> + <h3>{{ $newDate }}</h3> + {{ end }} + + <li> + {{ .Section}}/<a href="{{.Permalink}}">{{ .Title }}</a> + + + {{ $oldDate = $newDate }} + {{ end }} + </div> +</article> +{{ end }} + |