$ ls -1
2021-02-28 15:34:42 Welcome
2021-02-28 15:35:21 How to add a navigation menu
2021-02-28 15:35:39 How to add custom titles
\n<h1>Blog</h1>\n<h2>News and a collection of tips and tricks for <code>mkws</code></h2>\n<ol id=i>\n#!\nfind p -mindepth 1 | sort -r | while read -r f\ndo\ntest "${f##*.}" == "html" && continue;\nt=$(echo "${f##*/}" | cut -c21-)\n#!\n<li>\n<h2><a href=p/$(echo "$t" | pe).html>$t</a></h2>\n<time>$(echo "${f##*/}" | cut -c1-10 )</time>\n</li>\n#!\ndone\n#!\n</ol>\n
\n\nI have yet to come up with a solution for the description
meta
but I might formulate the first paragraph to be a good description, I'd rather not use any front matter.
\n<h1>Blog</h1>\n<h2>News and a collection of tips and tricks for <code>mkws</code></h2>\n<ol id=i>\n#!\nfind p -mindepth 1 | sort -r | while read -r f\ndo\ntest "${f##*.}" == "html" && continue;\nt=$(echo "${f##*/}" | cut -c21-)\n#!\n<li>\n<h2><a href=p/$(echo "$t" | pe).html>$t</a></h2>\n<time>$(echo "${f##*/}" | cut -c1-10 )</time>\n</li>\n#!\ndone\n#!\n</ol>\n
\n\nI have yet to come up with a solution for the description
meta
but I might formulate the first paragraph to be a good description, I'd rather not use any front matter.
<h1>Blog</h1>
<h2>News and a collection of tips and tricks for <code>mkws</code></h2>
<ol id=i>
#!
find p -mindepth 1 | sort -r | while read -r f
do
test "${f##*.}" == "html" && continue;
t=$(echo "${f##*/}" | cut -c21-)
#!
<li>
<h2><a href=p/$(echo "$t" | pe).html>$t</a></h2>
<time>$(echo "${f##*/}" | cut -c1-10 )</time>
</li>
#!
done
#!
</ol>
I have yet to come up with a solution for the
description
meta
but I might formulate the first paragraph to be a good description, I'd rather not use any front matter.
updated
field with lmt
https://mkws.sh/lts.html wherever it's a good idea to have. (sitemap, atom feed)
updated
field with lmt
https://mkws.sh/lts.html wherever it's a good idea to have. (sitemap, atom feed)
meta
files as you know. Which isn't perfect but I preferred that than adding an extra thing to separate and process in the one file.
meta
file and maybe use my first paragraph as description
suggestion?
meta
file and maybe use my first paragraph as description
suggestion?
mkws.sh
, which should be interesting. The current CMS makes liberal use of front matter etc.
> I hope to convert it over to something like mkws.sh
And what's preventing you?
mkws
the site's name is mkws.sh.
mkws
the site's name is mkws.sh.
As for what's preventing me, just time and being prepared to switch a few things up. The existing site has a few things going on with the current CMS like auto-generating thumbnails, image resizing, a search function plus about 217 articles to convert over.
Markdown
?
Markdown
?
mkws
would handle 217 articles. 😀
mkws
would handle 217 articles. 😀
mkws
would handle that many articles quite well, as long as no inefficient loops are used like I did with my twtxt.txt parsing originally.
awk
script is a thing of beauty. 😁
awk
script is a thing of beauty. 😁