Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

UNLIMITED

Linux Format

Build a static project website on GitHub

Credit: www.mkdocs.org

We are going to investigate some static site generators in this tutorial, plus discover what W they are useful for and, in some situations, why they are better than a CMS, such as WordPress, which has reached the grand old age of 20 now.

Static site generators are, as the name suggests, pieces of software that can be used to take content and build a static site from that content. The word static probably suggests something pretty basic, but this does not need to be the case at all. Static site generators can include all manor of functionality, such as blogging support, CSS that changes the rendering on different screen sizes, and beautiful theming.

There are many advantages of using a static site generator, one of which is that of the overhead of the hosting environment. When using a system such as WordPress, the web server needs to execute PHP code via a plugin, and this PHP then queries a database and extracts information, which is manipulated and output as HTML. All of this takes more resources than simply hosting HTML, JavaScript and CSS. You might think this doesn’t sound like a particular hardship, given that we all have multicore processors and many gigabytes of RAM, but for busy websites, with lots of visitors, this overhead soon adds up. Also, when the content isn’t constantly in flux, there is nothing wrong with using a

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format1 min read
Make A Date!
Italo Vignoli is one of the founders of LibreOffice and the Document Foundation. “In February, you can meet a representative of the project at FOSDEM in Brussels, where LibreOffice will have a booth and a devroom where LibreOffice Technology will be
Linux Format2 min read
Kernel Watch
It’s that time of year again when we kid ourselves into a shiny new gym membership as part of a New Year’s resolution. We’ll go every day, right? Well, either way, we wish all readers a happy and healthy 2025. And with that, it seems appropriate to r
Linux Format1 min read
Linus Hates CPU Feature Levels
A lthough 2025 is upon us, there’s still a number of Linux users who run x86 32-bit kernels/32-bit OS software on x86_64 processors. To this end, Linux developer Arnd Bergmann and others have released a series of patches that are devoted to cleaning

Related Books & Audiobooks