Tullio Facchinetti

I finally removed all the Javascript from this site

by Tullio Facchinetti

Categories: article lang_en article_en


According with my love for minimalism and uncluttered solutions, I finally managed to reorganize this website to remove all the Javascript-based parts and plugins.

This website is generated using the well-known static website generator Hugo.

The most “structured” content, such as the list of theses, projects, reviews, etc. is generated by Python scripts that I wrote to fetch information from some CSV files and to produce the Markdown content by means of Jinjia2 templates. The generated files become then part of the website and are converted into webpages by Hugo.

The original website

The previous version of the website was using a customized Hugo theme derived from Hugo Bootstrap, which in turns is based on the widely used Bootstrap framework from Twitter and the JQuery library. The main features that I used from Boostrap were labels, some beautiness here and there, and - most importantly - the menu, based on the Boostrap navbar-expand-md class, and the sidebar.

The “weight” of the website was still acceptable, by I disliked the need to point to external website for the CSSs and the JQuery packages. Moreover, the upgrade from Boostrap 3 to 4 was not that easy, and now there is Bootstrap 5 to chase…

Overall, a good moment to think about a different solution.

Bootstrap out, pure CSS in

The goal was to use the simplest possible layout which would be adequate to browsers on both computers and smartphones, without Javascript (as much as possible), and possibly using CSS only.

The current organization of the website is the result of using the Hugo Bearblog theme, with the necessary customizations (CSS, templates, Hugo partials, etc.), and a reorganization of some content.

The menu is a pure list of links. The number of items was reduced to unclutter the head of the page. On the other hand, the sidebar has gone. Highlights, list of recently updated pages, and the list of categories have been moved to the bottom of the page.

A result that I am quite happy of.


Highlights

  • Publications
  • Students and theses
  • Thesis topics
  • Curated awesome list of CLI apps
  • Last updates (English)

  • Students and theses ()
  • Students and theses - English ()
  • Speed up the compilation of LaTex Beamer presentations ()
  • Learn enough C to survive ()
  • Workflow for writing theses collaboratively ()
  • Guidelines for theses and presentations ()
  • Projects ()
  • Last updates (Italian)

  • Risultati FdI 18 Novembre / 02 Dicembre 2024 ()
  • Studenti e tesi ()
  • Risultati FdI 27 Settembre 2024 ()
  • Risultati FdI 02 Settembre 2024 ()
  • Risultati FdI 25 Luglio 2024 ()
  • Risultati FdI 26 June 2024 ()
  • Risultati FdI 8 e 11 aprile 2024 ()
  • List of categories

    Article Article_en Article_it C Courses Fdi Lang_en Lang_it Latex Programming Project Research Results Robotics Software Teaching Thesis Tips