diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2026-04-21 17:16:24 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2026-04-21 17:16:24 +0800 |
| commit | df9bc9288b9aec590d39beb43eed0f7c2d577915 (patch) | |
| tree | eb6e683c3ccaf5b553fa3cf906858b3039d2da2e /_includes | |
| parent | 5abe8138425d6b083e66bbf5299537f1cc851b6a (diff) | |
| download | www-df9bc9288b9aec590d39beb43eed0f7c2d577915.tar.gz | |
Minimalist theme.
Diffstat (limited to '_includes')
| -rw-r--r-- | _includes/foot.html | 7 | ||||
| -rw-r--r-- | _includes/head.html (renamed from _includes/header.html) | 1 | ||||
| -rw-r--r-- | _includes/latest.html | 23 | ||||
| -rw-r--r-- | _includes/nav.html | 41 |
4 files changed, 7 insertions, 65 deletions
diff --git a/_includes/foot.html b/_includes/foot.html deleted file mode 100644 index 6e01dc2..0000000 --- a/_includes/foot.html +++ /dev/null @@ -1,7 +0,0 @@ -<div class="footer"> - <div class="container"> - <div class="twelve columns right container-2"> - <p id="footer-text">© {{ site.author }} - {{ site.time | date:"%Y"}}</p> - </div> - </div> -</div> diff --git a/_includes/header.html b/_includes/head.html index 610976f..a6eec07 100644 --- a/_includes/header.html +++ b/_includes/head.html @@ -3,6 +3,5 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> <title>{{ page.title }}</title> <link rel="stylesheet" href="/assets/css/main.css"> - <link rel="stylesheet" href="/assets/css/skeleton.css"> </head> diff --git a/_includes/latest.html b/_includes/latest.html deleted file mode 100644 index b71216a..0000000 --- a/_includes/latest.html +++ /dev/null @@ -1,23 +0,0 @@ - <div class="articles"> - <table class="posts-table"> - - {% assign posts = site.log | sort: 'date' | reverse %} - {% for post in posts limit: include.limit %} - - <tr> - <td class="posts-td posts-td-link"> - <a href="{{ post.url }}" class="link-decor-none">{{ post.title }}</a> - </td> - <td class="posts-td posts-td-link posts-td-time"> - <a href="{{ post.url }}" class="link-decor-none"> - <span class="post-meta"> - <time datetime="{{ post.date }}">{{ post.date | date: "%Y-%m-%d" }}</time> - </span> - </a> - </td> - </tr> - - {% endfor %} - - </table> - </div> diff --git a/_includes/nav.html b/_includes/nav.html index dbec583..7488559 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -1,34 +1,7 @@ -<div id="nav-container" class="container"> - <ul id="navlist" class="left"> - {% assign parts = page.url | split: '/' %} - - {% if parts[1] == "log" and page.project == true %} - {% assign active_nav = "poc" %} - {% elsif parts[1] == "projects" %} - {% assign active_nav = "poc" %} - {% elsif page.url == "/" %} - {% assign active_nav = "hme" %} - {% elsif parts[1] == "log" and page.project != true %} - {% assign active_nav = "hme" %} - {% elsif parts[1] == "about" %} - {% assign active_nav = "abt" %} - {% endif %} - - <li {% if active_nav == "hme" %}class="active"{% endif %}> - <a href="{{ site.baseurl }}/" class="link-decor-none">hme</a> - </li> - <li {% if active_nav == "poc" %}class="active"{% endif %}> - <a href="{{ site.baseurl }}/projects/" class="link-decor-none">poc</a> - </li> - <li {% if active_nav == "abt" %}class="active"{% endif %}> - <a href="{{ site.baseurl }}/about/" class="link-decor-none">abt</a> - </li> - <li> - <a href="{{ site.baseurl }}/cgi-bin/find.cgi" class="link-decor-none">lup</a> - </li> - <li> - <a href="{{ site.baseurl }}/feed.xml" class="link-decor-none">rss</a> - </li> - - </ul> -</div> +<header> + <h1><a href="/">{{ site.title }}</a></h1> +{% assign parts = page.url | split: '/' %} +{% if page.url != "/" %} + / <h1><a href="{{ page.url }}">{{ page.title }}</a></h1> +{% endif %} +</header> |
