aboutsummaryrefslogtreecommitdiffstats
path: root/website
Commit message (Collapse)AuthorAgeFilesLines
* Move blog posts to the posts/ directory.Denis 'GNUtoo' Carikli2025-06-151-1/+1
| | | | | | | | | | | | | | We also have two other pages that are not generated from the blog posts (reply.html and search.html). It would be nice to be able to move them to markdown as well, but if we do that it is necessary to differenciate between markdown files used to generate blog posts, and the ones used to generate these pages. In addition if the blog posts directory is named markdown, and that we have other markdown files as well, it become confusing for contributors. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* top bar: make blog link look like it's been selected.Denis 'GNUtoo' Carikli2025-06-151-1/+3
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* top bar: make blog link work with localhost.Denis 'GNUtoo' Carikli2025-06-151-1/+1
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* top bar: make search page work with localhost.Denis 'GNUtoo' Carikli2025-06-151-1/+1
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* search: simplify page.Denis 'GNUtoo' Carikli2025-06-151-38/+7
| | | | | | | With make-page we can simply create pages and include them in the builders. We then pass the page content to the layout and it works. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* search: repair page.Denis 'GNUtoo' Carikli2025-06-152-4/+20
| | | | | | | | | | | | The search page is based on the website/builders/replicant-blog.scm page, and I started from there and tried to minimize the amount of code added to avoid duplication between the two pages. During that process, for some reasons my browser showed an old version of the page, and so I kept removing code and didn't see when it reverted to listing the articles. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* search: fix link.Denis 'GNUtoo' Carikli2025-06-151-1/+1
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Add search page with instruction on how to search.Denis 'GNUtoo' Carikli2025-06-152-2/+106
| | | | | | | | | | | | | While the search could be implemented with things like Xapian which is available in most GNU/Linux distributions, not only this could be a lot of work, but it also makes the site not static anymore, which increase the attack surface of the server that runs the search. And finally it teach users the bad practice of relying on SAASS (service as a software substitute) or equivalent instead of doing the work themselves on their computers with the tools they want. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* haunt: sort posts by most recent first.Denis 'GNUtoo' Carikli2025-06-151-1/+6
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* haunt: Add metadata in the articles.Denis 'GNUtoo' Carikli2025-06-152-0/+22
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* convert.py, markdown: use UTF-8.Denis 'GNUtoo' Carikli2025-06-152-0/+4
| | | | | | | | | | | | | | | | | Guile use ISO-8859-1 by default for ports. Since the markdown contain some UTF-8 characters, the resulting HTML ended up with unknown characters replaced by some '??'. Converting some dashes or quotes to ASCII equivalent was done in previous commits and was not a big issue, but some files also have characters with accents, so keeping most of the UTF-8 characters as-is and moving directly to UTF-8 is a better solution. Some characters still don't work, and end up in some haunt build errors (which is better than silent faillures like before). They all have valid equivalents so they were replaced by their equivalents. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Add Replicant banner.Denis 'GNUtoo' Carikli2025-06-151-0/+3
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Add script to easily publish haunt HTML files in WordPress.Denis 'GNUtoo' Carikli2025-06-151-1/+1
| | | | | | | | | | | | | | | | | | | There is still many things to do before we could replace the WordPress blog with Haunt. For instance we didn't import the WordPress comments yet, and viewers also don't have any way of commenting. We also need to add a Replicant logo, and probably improve a bit the code and documentation. Because of all that, and also because working directly on markdown files with git makes the work faster, easier, and easier to review, having a way to add back markdown files inside WordPress is a good idea. Some markdown plugins for WordPress do exist but it was probably faster to write some scripts to generate HTML that WordPress can accept than reviewing these plugins for licensing and suitability. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Fix generated html title.Denis 'GNUtoo' Carikli2025-06-151-1/+1
| | | | | | | | | | | Without that fix, the IceCat top bar shows the following text: "Replicant status and report of the 37C3 and FOSDEM 2024 conferences. ? Replicant - GNU IceCat". This fix makes sure a dash ('-') is displayed instead of the question mark('?'). Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* CSS: Separate title from subsections.Denis 'GNUtoo' Carikli2025-06-151-1/+1
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* website: replicant-blog: fix naming.Denis 'GNUtoo' Carikli2025-06-151-13/+13
| | | | | | | Some variables were named after the default haunt theme (ugly) or a static blog generator used by GNU Boot (untitled). Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Remove fix-dates.sh manual process.Denis 'GNUtoo' Carikli2025-06-151-0/+54
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Start adding top bar.Denis 'GNUtoo' Carikli2024-01-091-0/+141
The twentyeleven-style-20231107.css file was downloaded from the blog.replicant.us web page. As for website/builders/replicant-blog.scm, it is based on work I made for GNU Boot. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>