💾 Archived View for gemlog.blue › users › cheziceman › 1704776431.gmi captured on 2024-03-21 at 18:31:22. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-02-05)

-=-=-=-=-=-=-

03 Dogma for SimpleWeb

* title with a that type of element (13)

* viewport with that type of Meta Name (14)

* and if you want some other meta names as Keywords, Tags, you're free....I will show an example below

HowTo :

This is just an example :

Of course, the first page to create is the Index.html... You put a title and the list of articles with links (I know, it'd be like the gophermap or the index.gmi for gemini). I prefer to use the Markdown language because I used it with my former Jekyll blog and it's very simple to understand (15).

All your articles/posts can be in a separate folder, named for example "post" or with a year. The name of each article can be YYMMDD or what you want. I chose to create folders for each years to make archive by year, that's not mandatory.

You can also do pages like the about.hml in a separate folder to explain who you are, what you want…

Pandoc or Zettlr (with Pandoc inside) can use a file to put some HTML or CSS elements. It is useful to copy the same elements as you convert your markdown file to HTML. I can change my file if I'm doing a post, a page, another year if I want or to copy the same txt file everywhere....or not doing this and just put a Title and nothing else to my file. For example, I use the following code "header-includes: " in my file and then the < > to put the metaname I want to use. You can try to look my source code on that page, for example with your browser (a very useful way to learn...). The «Style» part is not mandatory.

I chose to add a small menu to navigate on the site with Home, About and Contact. It's your choice but it's only a line of code to copy in each .md or .html file.

When I convert all my markdown (.md) file to html, I just have to put it on the website. I can do it with ssh, sftp, or other tools, depending on the server you want to use. But for a new article, I just have to create HTML for the article and to add a new line into my index.html / index.md and upload those two files. It also works with github or gitlab pages.

So, if you think to all the time you spare with a wordpress CMS (especially to keet it secure and to make updates and backups) to do that or with a static site generator, that's far more simple and it's YOUR code. And you can improve it, keeping in mind that it must be....Simple !

And to have some figures, my old website was lower than 100kb. Now, it's lower than 10kb. Maybe too simple ?

2Dɛ

(1) : SlowWeb

(2) : The Slowweb initiative

(3) : smolweb

(4) : Permacomputing

(5) : KISS

(6) : Zettlr

(7) : Typora

(8) : Markor

(9) : Ghostwriter

(10) : Pandoc

(11) : online markdown converter

(12) : W3C Standards

(13) : the Title element

(14) : the Viewport Meta Name

(15) : Markdown guide

Comments by mail

or by a reply on your blog