summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2026-04-21 17:16:24 +0800
committerSadeep Madurange <sadeep@asciimx.com>2026-04-21 17:16:24 +0800
commitdf9bc9288b9aec590d39beb43eed0f7c2d577915 (patch)
treeeb6e683c3ccaf5b553fa3cf906858b3039d2da2e
parent5abe8138425d6b083e66bbf5299537f1cc851b6a (diff)
downloadwww-df9bc9288b9aec590d39beb43eed0f7c2d577915.tar.gz
Minimalist theme.
-rw-r--r--Gemfile.lock80
-rw-r--r--_config.yml9
-rw-r--r--_includes/foot.html7
-rw-r--r--_includes/head.html (renamed from _includes/header.html)1
-rw-r--r--_includes/latest.html23
-rw-r--r--_includes/nav.html41
-rw-r--r--_layouts/default.html6
-rw-r--r--_layouts/post.html21
-rw-r--r--about.html60
-rw-r--r--assets/css/main.css233
-rw-r--r--index.html12
-rw-r--r--index.md15
-rw-r--r--projects.html42
13 files changed, 84 insertions, 466 deletions
diff --git a/Gemfile.lock b/Gemfile.lock
index 5c1e8bc..9ce4579 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -13,44 +13,10 @@ GEM
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.17.2)
- ffi (1.17.2-aarch64-linux-gnu)
- ffi (1.17.2-aarch64-linux-musl)
- ffi (1.17.2-arm-linux-gnu)
- ffi (1.17.2-arm-linux-musl)
- ffi (1.17.2-arm64-darwin)
- ffi (1.17.2-x86-linux-gnu)
- ffi (1.17.2-x86-linux-musl)
- ffi (1.17.2-x86_64-darwin)
- ffi (1.17.2-x86_64-linux-gnu)
- ffi (1.17.2-x86_64-linux-musl)
forwardable-extended (2.6.0)
google-protobuf (4.33.0)
bigdecimal
rake (>= 13)
- google-protobuf (4.33.0-aarch64-linux-gnu)
- bigdecimal
- rake (>= 13)
- google-protobuf (4.33.0-aarch64-linux-musl)
- bigdecimal
- rake (>= 13)
- google-protobuf (4.33.0-arm64-darwin)
- bigdecimal
- rake (>= 13)
- google-protobuf (4.33.0-x86-linux-gnu)
- bigdecimal
- rake (>= 13)
- google-protobuf (4.33.0-x86-linux-musl)
- bigdecimal
- rake (>= 13)
- google-protobuf (4.33.0-x86_64-darwin)
- bigdecimal
- rake (>= 13)
- google-protobuf (4.33.0-x86_64-linux-gnu)
- bigdecimal
- rake (>= 13)
- google-protobuf (4.33.0-x86_64-linux-musl)
- bigdecimal
- rake (>= 13)
http_parser.rb (0.8.0)
i18n (1.14.7)
concurrent-ruby (~> 1.0)
@@ -104,59 +70,13 @@ GEM
sass-embedded (1.93.2)
google-protobuf (~> 4.31)
rake (>= 13)
- sass-embedded (1.93.2-aarch64-linux-android)
- google-protobuf (~> 4.31)
- sass-embedded (1.93.2-aarch64-linux-gnu)
- google-protobuf (~> 4.31)
- sass-embedded (1.93.2-aarch64-linux-musl)
- google-protobuf (~> 4.31)
- sass-embedded (1.93.2-arm-linux-androideabi)
- google-protobuf (~> 4.31)
- sass-embedded (1.93.2-arm-linux-gnueabihf)
- google-protobuf (~> 4.31)
- sass-embedded (1.93.2-arm-linux-musleabihf)
- google-protobuf (~> 4.31)
- sass-embedded (1.93.2-arm64-darwin)
- google-protobuf (~> 4.31)
- sass-embedded (1.93.2-riscv64-linux-android)
- google-protobuf (~> 4.31)
- sass-embedded (1.93.2-riscv64-linux-gnu)
- google-protobuf (~> 4.31)
- sass-embedded (1.93.2-riscv64-linux-musl)
- google-protobuf (~> 4.31)
- sass-embedded (1.93.2-x86_64-darwin)
- google-protobuf (~> 4.31)
- sass-embedded (1.93.2-x86_64-linux-android)
- google-protobuf (~> 4.31)
- sass-embedded (1.93.2-x86_64-linux-gnu)
- google-protobuf (~> 4.31)
- sass-embedded (1.93.2-x86_64-linux-musl)
- google-protobuf (~> 4.31)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.6.0)
webrick (1.9.1)
PLATFORMS
- aarch64-linux-android
- aarch64-linux-gnu
- aarch64-linux-musl
- arm-linux-androideabi
- arm-linux-gnu
- arm-linux-gnueabihf
- arm-linux-musl
- arm-linux-musleabihf
- arm64-darwin
- riscv64-linux-android
- riscv64-linux-gnu
- riscv64-linux-musl
ruby
- x86-linux-gnu
- x86-linux-musl
- x86_64-darwin
- x86_64-linux-android
- x86_64-linux-gnu
- x86_64-linux-musl
x86_64-openbsd
DEPENDENCIES
diff --git a/_config.yml b/_config.yml
index cbf8b18..ee4dfea 100644
--- a/_config.yml
+++ b/_config.yml
@@ -1,5 +1,9 @@
-title: ASCIIMX
-author: Sadeep M. Wickramage Don
+title: "Minimalist"
+description: "A short bio or site description"
+baseurl: "" # keep empty for root or subpath like /blog
+
+author:
+ name: "W. D. Sadeep Madurange"
permalink: pretty
@@ -17,6 +21,7 @@ feed:
gems:
- jekyll-feed
+
exclude:
- Gemfile
- Gemfile.lock
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">&copy; {{ 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>
diff --git a/_layouts/default.html b/_layouts/default.html
index 835db63..628b523 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -1,15 +1,13 @@
<!doctype html>
<html lang="en-us">
- {% include header.html %}
+ {% include head.html %}
<body>
{% include nav.html %}
- <main class="container" id="main">{{ content }}</main>
-
- {% include foot.html %}
+ <article>{{ content }}</article>
</body>
</html>
diff --git a/_layouts/post.html b/_layouts/post.html
index b6c79a4..628b523 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -1,22 +1,13 @@
-<!DOCTYPE html>
+<!doctype html>
<html lang="en-us">
- {% include header.html %}
- <body>
- {% include nav.html %}
+ {% include head.html %}
- <main>
- <div class="container">
- <div class="container-2">
- <h2 class="center" id="title">{{ page.title | upcase }}</h2>
- <h5 class="center">{{ page.date | date_to_long_string | upcase }}</h5>
- <br>
- <div class="twocol justify">{{ content }}</div>
- </div>
- </div>
- </main>
+ <body>
+
+ {% include nav.html %}
- {% include foot.html %}
+ <article>{{ content }}</article>
</body>
</html>
diff --git a/about.html b/about.html
deleted file mode 100644
index f591531..0000000
--- a/about.html
+++ /dev/null
@@ -1,60 +0,0 @@
----
-title: About
-layout: default
----
-
-<div class="container">
- <h2>{{ page.title }}</h2>
-
- <p>
- I was once consumed by a Promethean ambition—to delineate the deepest
- mysteries of computation; to wrest from the silicon its most jealously guarded
- secrets.
- </p>
-
- <p>
- To examine software, we must first have recourse to hardware. Yet, as
- becoming acquainted with the machine's intricacies formed a great hindrance to
- my speed, I resolved to employ gigantic abstractions; and disturbed, with
- profane fingers, its galvanic symphony.
- </p>
-
- <p>
- In youthful fervor, I mistook corporate caprice for boundless progress,
- self-aggrandizement for grand vision; and stitched together soulless
- fragments of unhallowed frameworks.
- </p>
-
- <p>
- I have seen what festers beneath the promise of abstraction—the bloat, the
- waste, the corrosive comfort of ignorance. As I beheld the accomplishment of my
- toils, I shuddered to think that future ages might curse me as their pest.
- </p>
-
- <p>
- These pages serve as witness to my solitary labor—each banished dependency
- a victory against decay, every iteration an act of purification. In them, I
- have measured efficacy without mercy; I have rejected the ceremonial
- scaffolding that veils the true visage of their grotesque creations.
- </p>
-
- <p>
- The measurements do not lie. If I am the architect of an unalterable evil,
- these chronicles record my search for redemption in Nature's parsimony. Whether
- they stand as a monument to my deliverance or condemn me to wander the frozen
- wastes of my own creation, only time will reveal.
- </p>
-
- <p>-- {{ site.author }}</p>
-
- <p>
- Email: sadeep@asciimx.com [<a href="/assets/asciimx.asc" class="external"
- target="_blank" rel="noopener noreferrer">GPG</a>]<br>
- Credits: <a href="/assets/lic/averia.txt" target="_blank">Averia Serif</a> - Dan Sayers / <a
- href="/assets/lic/skeleton.txt" target="_blank">Skeleton</a> - Dave Gamache / <a
- href="/assets/lic/marat.txt" target="_blank">Marat</a> - Jean-Philippe Coene
- </p>
-
-</div>
-
-
diff --git a/assets/css/main.css b/assets/css/main.css
index d3355d9..ebaf1dd 100644
--- a/assets/css/main.css
+++ b/assets/css/main.css
@@ -1,218 +1,79 @@
-@font-face {
- font-family: 'Averia Serif';
- src: url('/assets/fonts/AveriaSerif-Light.ttf') format('truetype');
-}
-
-:root {
- --main-bg-color: #ffffff;
- --main-fg-color: #000000;
- --font-family: 'Averia Serif', serif;
-}
-
-*,
-*:before,
-*:after {
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
-}
-
body {
- height: 100%;
- text-decoration-skip: ink;
- color: var(--main-fg-color);
- padding-top: 10px;
- font-family: var(--font-family);
- background-color: var(--main-bg-color);
- background-size: 2px 2px;
-}
-
-::selection {
- color: var(--main-bg-color);
- background: var(--main-fg-color);
-}
-::-moz-selection {
- color: var(--main-bg-color);
- background: var(--main-fg-color);
-}
-
-.footer {
- position: relative;
- bottom: 0;
- width: 100%;
- padding-top: 10px;
- padding-bottom: 10px;
- color: rgba(0, 0, 0, 0.6);
-}
-
-a {
- cursor: default;
- color: var(--main-fg-color);
- text-decoration: underline 1.5px;
- text-underline-offset: 2.5px;
+ font: 17px/1.6 sans-serif;
+ text-rendering: optimizeLegibility;
+ padding: 2rem;
+ max-width: 70ch;
+ margin: 0 auto;
}
-.link-decor-none {
- text-decoration: none;
+h1, h2, h3, h4, h5 {
+ font-size: inherit;
+ font-weight: inherit;
+ text-decoration: underline;
}
-img {
- width: 100%;
-}
-
-table {
- width: 100%;
-}
-
-table, tr, td {
- border: none !important;
-}
-
-td {
- background-color: transparent;
-}
-
-.project-item {
- border: none;
- vertical-align: top;
- width: 50%;
-}
-
-#navlist
-{
- list-style-type: none;
- margin-left: 0 !important;
-}
-
-#navlist li
-{
+header h1 {
display: inline;
- list-style-type: none inside;
- padding-right: 20px;
-}
-
-#navlist > .active > a {
- font-weight: 600;
- text-decoration: none;
-}
-
-@media (min-width: 400px) {
- #nav-container {
- padding: 0 6px;
- }
- .container-2 {
- padding: 0 3px;
- }
-}
-
-@media (min-width: 550px) {
- .post-container {
- padding: 0;
- }
-}
-
-.author {
- font-size: 1.3em;
- padding-top: 20px;
-}
-
-.tagline {
- padding-top: 20px;
-}
-
-.center {
- text-align: center;
-}
-
-.right {
- text-align: right;
-}
-
-.justify {
- text-align: justify;
}
-.twocol::first-letter {
- font-size: 2.5em;
+pre, code {
+ font-size: inherit;
+ background: #eee;
}
-.twocol {
- -ms-word-break: keep-all;
- word-break: keep-all;
- hyphens: auto;
- -webkit-hyphens: auto;
- -moz-hyphens: auto;
-}
-
-@media only screen
-and (min-device-width : 768px) {
- .twocol {
- -moz-column-count: 2;
- -moz-column-gap: 20px;
- -webkit-column-count: 2;
- -webkit-column-gap: 20px;
- column-count: 2;
- column-gap: 20px;
- width: 100%;
- }
- .tag{
- width: 23%;
- margin-right:0;
- }
+pre {
+ margin-bottom: 2rem;
}
-.posts-td {
+pre code {
+ display: block;
border: none;
- vertical-align: top;
+ padding: 1em;
+ background: none;
+ overflow-x: auto;
}
-.posts-td-link a {
- display: block;
+ol, ul {
+ list-style: outside;
+ padding: 0;
+ margin-left: 1em;
}
-.posts-td-time {
- min-width: 100px;
- white-space: nowrap;
+#post-list {
+ margin-left: 0;
}
-.author {
- margin-bottom: 2rem;
-}
-
-#footer-text {
- font-size: 14px;
+#post-list li {
+ list-style-type: none;
+ display: flex;
+ font-variant-numeric: tabular-nums;
}
-.post-author {
- margin-top: 4px;
+#post-list li a {
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
}
-pre {
- border: none;
- max-height: 400px;
- overflow-y: auto;
- scrollbar-width: none;
- -ms-overflow-style: none;
+#post-list a {
+ text-decoration: none;
+ color: inherit;
}
-pre::-webkit-scrollbar {
- display: none;
+time {
+ padding-right: 1rem;
}
-input {
- font-family: var(--font-family);
+blockquote {
+ margin: 1em 0;
+ padding: 0 2em;
+ border-left: 3px solid #eee;
}
-#search-box {
- border-radius: 0;
- border-color: var(--main-fg-color);
- color: var(--main-fg-color) !important;
- background-color: var(--main-bg-color);
+img {
+ max-width: 100%;
}
-#search-btn {
- border-radius: 0;
- border-color: var(--main-fg-color);
- color: var(--main-fg-color);
- background-color: var(--main-bg-color);
+a, a:visited {
+ color: initial;
}
diff --git a/index.html b/index.html
deleted file mode 100644
index 365ce7b..0000000
--- a/index.html
+++ /dev/null
@@ -1,12 +0,0 @@
----
-layout: default
-title: ASCIIMX
----
-
-<div class="container">
-
- <h2 class="center">UNIX / EMBED / -O3</h2>
-
- {% include latest.html limit="50" %}
-
-</div>
diff --git a/index.md b/index.md
new file mode 100644
index 0000000..827d51e
--- /dev/null
+++ b/index.md
@@ -0,0 +1,15 @@
+---
+layout: default
+title: "Home"
+---
+
+<ul id="post-list">
+ {% assign posts = site.log | sort: 'date' | reverse %}
+ {% for post in posts limit: include.limit %}
+ <li>
+ <time>{{ post.date | date: "%Y-%m-%d" }}</time>
+ <a href="{{ post.url }}" class="link-decor-none">{{ post.title }}</a>
+ </li>
+ {% endfor %}
+</ul>
+
diff --git a/projects.html b/projects.html
deleted file mode 100644
index 5ebc056..0000000
--- a/projects.html
+++ /dev/null
@@ -1,42 +0,0 @@
----
-layout: default
-title: Projects
----
-
-<div class="container">
- <h2>{{ page.title }}</h2>
- <table>
- {% assign n = 2 %}
- {% assign projects = site.log | where: "project", true | sort: 'date' | reverse %}
- {% assign rows = projects.size | divided_by: n %}
-
- {% assign remainder = projects.size | modulo: n %}
- {% if remainder != 0 %}
- {% assign rows = rows | plus: 1 %}
- {% endif %}
-
- {% for i in (1..rows) %}
- <tr>
- {% assign offset = forloop.index0 | times: n %}
- {% for item in projects limit:n offset:offset %}
- <td class="project-item">
- {% assign parts = item.url | split: '/' %}
- <a href="../log/{{ parts[2] }}" class="link-decor-none">
- <img src="../log/{{ parts[2] }}/{{ item.thumbnail }}" alt="{{ item.title }}">
- <h5>{{ item.title }}</h5>
- </a>
- </td>
- {% endfor %}
-
- {%- comment -%}Fill empty cells if this is the last row and has odd number of items{%- endcomment -%}
- {% if forloop.last %}
- {% assign items_in_last_row = projects.size | minus: offset %}
- {% assign empty_cells = n | minus: items_in_last_row %}
- {% for j in (1..empty_cells) %}
- <td class="project-item"></td>
- {% endfor %}
- {% endif %}
- </tr>
- {% endfor %}
- </table>
-</div>