all repos — h3rald @ 6512c1a0df10fce5b835cc56bd49776fbb8f908f

The sources of https://h3rald.com

Updates.
h3rald h3rald@h3rald.com
Sun, 08 Mar 2020 19:25:07 +0100
commit

6512c1a0df10fce5b835cc56bd49776fbb8f908f

parent

d144f092551fed41640a51950bf79fb6bbc75505

M assets/styles/_style.cssassets/styles/_style.css

@@ -33,39 +33,39 @@

h1, .h1 { font-size: 2.375rem; - line-height: calc(var(--leading) * 2); + line-height: calc(var(--leading) * 1.8); margin-top: calc(var(--leading) * 1); margin-bottom: calc(var(--leading) * 0); } h2, .h2 { - font-size: 1.75rem; - line-height: calc(var(--leading) * 2); + font-size: 2rem; + line-height: calc(var(--leading) * 1.8); margin-top: calc(var(--leading) * 1); margin-bottom: calc(var(--leading) * 0.5); } h3, .h3 { - font-size: 1.3125rem; - line-height: calc(var(--leading) * 1); + font-size: 1.5rem; + line-height: calc(var(--leading) * 1.3); margin-top: calc(var(--leading) * 1); margin-bottom: calc(var(--leading) * 0.5); } h4, .h4 { - font-size: 1rem; - line-height: calc(var(--leading) * 1); + font-size: 1.3rem; + line-height: calc(var(--leading) * 1.3); margin-top: calc(var(--leading) * 1); margin-bottom: calc(var(--leading) * 0.5); } h5, .h5 { - font-size: 1rem; - line-height: calc(var(--leading) * 1); + font-size: 1.2rem; + line-height: calc(var(--leading) * 1.3); margin-top: calc(var(--leading) * 1); margin-bottom: calc(var(--leading) * 0.5); }

@@ -242,15 +242,24 @@ font-style: italic;

cursor: pointer; } +.main-header { + display: flex; + flex-direction: row; + justify-content: space-between; +} .main-header h1 { margin-top: 0.1em; } +.main-header .navlinks { + align-self: center; + text-align: left; + flex-grow: 1; +} + .logo { margin: auto; display: block; - margin-left: 20px; - /* Fix for incorrect font alignment */ } a.logo {

@@ -274,7 +283,6 @@ content: none;

} .card-footer { - text-align: center; margin: auto; }

@@ -369,6 +377,7 @@ color: var(--heading-text-color);

} .primary-subtitle { + margin-top: 0.5rem; color: var(secondary-text-color); }
M contents/litestore.mdcontents/litestore.md

@@ -11,10 +11,9 @@ summary: "A lightweight, self-contained, RESTful, multi-format NoSQL document store server written in Nim and powered by a SQLite backend for storage."

download: "https://github.com/h3rald/litestore/releases/download/" ----- -LiteStore is a lightweight, self-contained, RESTful, multi-format NoSQL document store server written in [Nim](http://nim-lang.org) and powered by a [SQLite](http://www.sqlite.org)" backend for storage. It aims to be a very simple and lightweight backend ideal for prototyping and testing REST APIs and client-side, single-page applications. +LiteStore is a lightweight, self-contained, RESTful, multi-format NoSQL document store server written in [Nim](http://nim-lang.org) and powered by a [SQLite](http://www.sqlite.org) backend for storage. It aims to be a very simple and lightweight backend ideal for prototyping and testing REST APIs and client-side, single-page applications. LiteStore is: - * **cross-platform**, you can download precompiled binaries for macOS, Linux and Windows. * **self-contained**, it's a command-line application that doesn't require installing or prerequisites: it's all in a single, small, executable file.
M rules.minrules.min

@@ -155,7 +155,7 @@ (

; Sort articles by timestamp ARTICLES (/timestamp swap /timestamp >) sort #ARTICLES ARTICLES first =latest - ARTICLES 1 4 slice =recents + ARTICLES 1 5 slice =recents ; Process summary latest input-fread "/(.+)?<hr/ms" regex 1 get latest markdown :summary latest summary %summary #latest
M templates/_footer.mustachetemplates/_footer.mustache

@@ -1,5 +1,5 @@

<footer class="sidebar"> - <p><span class="h3rald"></span> Web Site v9.2.1</p> + <p><span class="h3rald"></span> Web Site v9.2.2</p> <p>&copy; 2004&mdash;2020 &bull; <em>Fabio Cevasco</em></p> <ul class="inline"> <li><a title="email" href='&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#104;&#51;&#114;&#97;&#108;&#100;&#64;&#104;&#51;&#114;&#97;&#108;&#100;&#46;&#99;&#111;&#109;'>
M templates/_header.mustachetemplates/_header.mustache

@@ -1,4 +1,3 @@

-<div>&rarr; <a id="theme-switcher" title="Switch to light theme">light</a></div> <header class="main-header box"> <h1><a href="/" title="H3RALD" class="h3rald logo" alt="H3RALD">&nbsp;</a></h1> <div class="navlinks">

@@ -6,4 +5,5 @@ <a href="/archives" class="navbar-link navbar-left">articles</a>

&middot; <a href="/projects" class="navbar-link navbar-right">projects</a> </div> + <div class="theme-switcher-container">&#x25D0; <a id="theme-switcher" title="Switch to light theme">light</a></div> </header>
M templates/_panels.mustachetemplates/_panels.mustache

@@ -30,6 +30,12 @@ </div>

<div class="panel-body"> <article> <header> + <h3><a href="/litestore/">LiteStore</a></h3> + <p class="secondary-subtitle">A self-contained, lightweight NoSQL data store, featuring a RESTful API, full-text search, JWT token validation and authorization support, server-side JavaScript middleware, and more.</p> + </header> + </article> + <article> + <header> <h3><a href="/min/">min</a></h3> <p class="secondary-subtitle">A tiny concatenative programming language and system shell, providing a small standard library with regular expression support, cryptography, file management, and more.</p> </header>
M templates/_project.mustachetemplates/_project.mustache

@@ -7,7 +7,13 @@ {{/active}}

{{#inactive}} <small class="label label-warning">inactive</small> {{/inactive}} + {{#home}} + <a href="{{home}}"> + {{/home}} {{title}} + {{#home}} + </a> + {{/home}} &middot; v{{version}} </div> </div>

@@ -15,11 +21,6 @@ <div class="card-body">

{{summary}} </div> <div class="card-footer"> - {{#home}} - <a href="{{home}}" class="action"> - info - </a> - {{/home}} {{#site}} <a href="{{site}}" class="action"> web site
M templates/home.mustachetemplates/home.mustache

@@ -3,9 +3,9 @@ <html lang="en">

{{> _head}} <body> <div class="main container-fluid"> + {{> _header}} <div class="row"> <div class="col-xs-12 col-sm-4 col-md-3 sidebar"> - {{> _header}} <div class="hidden-xs"> {{> _panels}} </div>