diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2026-04-25 19:34:55 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2026-04-25 19:34:55 +0800 |
| commit | 1240fc53c945666679720fbe7b24b60201ea6cfb (patch) | |
| tree | 28815cac2d2e44dcb15a3edec9592b1e354c07e3 | |
| parent | e7e2e77368ac0d4db205c0f2819228cdb93cdb42 (diff) | |
| download | www-1240fc53c945666679720fbe7b24b60201ea6cfb.tar.gz | |
Remove search from the top and add footer.
| -rw-r--r-- | _includes/nav.html | 4 | ||||
| -rw-r--r-- | assets/css/main.css | 19 | ||||
| -rw-r--r-- | index.md | 4 |
3 files changed, 16 insertions, 11 deletions
diff --git a/_includes/nav.html b/_includes/nav.html index aff45fe..7488559 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -1,9 +1,7 @@ <header> <h1><a href="/">{{ site.title }}</a></h1> {% assign parts = page.url | split: '/' %} -{% if page.url == "/" %} - <h1 id="search"><a href="/cgi-bin/find.cgi">Search</a></h1> -{% else %} +{% if page.url != "/" %} / <h1><a href="{{ page.url }}">{{ page.title }}</a></h1> {% endif %} </header> diff --git a/assets/css/main.css b/assets/css/main.css index b98df32..16bd9a5 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -18,14 +18,6 @@ header h1 { margin: 0; } -#search { - float: right; -} - -#search-bar { - margin-top: 1.5rem; -} - pre, code { font-size: 95%; background: #005577; @@ -104,3 +96,14 @@ img { a, a:visited { color: initial; } + +footer { + margin-top: 2rem; + font-size: 0.85em; + color: #888; +} + +footer a, +footer a:visited { + color: #888; +} @@ -13,3 +13,7 @@ title: "Home" {% endfor %} </ul> +<footer> + <p>A journal of personal projects and experiments. <a href="/cgi-bin/find.cgi">Search</a></p> + <p>Built with <a href="https://github.com/ronv/minimalist" class="external" target="_blank" rel="noopener noreferrer">Minimalist</a></p> +</footer> |
