Skip to main content

Static Template

Besides Aplós being a VitePress theme, it also provides a simple HTML & CSS template referred to as the 'Static Template'. It's nicely paired with simple yet useful components that help you create a website in minutes. Luckily, it's really easy to set up.

[!WARING] Warning Support for the Static Template has ended due to how much Aplós has evolved, and it's no longer a priority, nor it's easy to maintain. If you're looking for a more robust solution, consider using the VitePress theme instead. But it's not over yet! I plan to release a separate, simple version of Aplós, but just for HTML & CSS under the Aplós umbrella, called Aplós Estático, which will be a more polished version of the Static Template. Stay tuned!

Installation

Getting it on your local machine by running the following command in your terminal:

bash
git clone --single-branch --branch html https://github.com/aplosdev/template

Note

Make sure you have Git installed on your machine. Otherwise, you can download the repository as a ZIP file from the GitHub Repository.

Once you've got it cloned, dive into the index.html file, make your tweaks, and done!

Usage

Inside the index.html file, you'll find a style section with a customizable color palette. Want a change? Go for it! Modify the text, add elements as you wish. For a inspiration, check out the Demo Page. Creating cards like an warning card? Just add an element with the id "warning", add in an <h1 /> and a <p />, and you're good to go.

Warning

Please note that this template may have a slight lag behind the latest version. This intentional approach allows for a greater focus on improving the main version rather than constantly catching up with every release. After about one point release (for example if the current version is 1.3.5 the static template is at 1.2.5), the template will receive a polished update to the latest version.

Heads Up

Some elements, like the 404 page, are designed specifically for the VitePress theme. Therefore, they won't be available in the Static Template.

Deployment

Deploying your project is a simple process since it's just simple HTML & CSS. Here are a few platforms I personally recommend:

  1. Codeberg Pages
  2. GitHub Pages
  3. GitLab Pages
  4. Whatever you think works the best for you

↑ Go to topFile an issue