Source code of the website at https://regrow.earth
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Unicorn 7a8eada088 Adjusted CSS to reduce navbar font sizes and paddings for small screens 4 months ago
content Major rework: Went from Sass back to CSS, simplified CSS and HTML and replaced some repeating code with macros. Also minor updates and restructuring of content. 4 months ago
static Adjusted CSS to reduce navbar font sizes and paddings for small screens 4 months ago
templates Major rework: Went from Sass back to CSS, simplified CSS and HTML and replaced some repeating code with macros. Also minor updates and restructuring of content. 4 months ago
themes Initial commit 1 year ago
LICENSE Major rework: Went from Sass back to CSS, simplified CSS and HTML and replaced some repeating code with macros. Also minor updates and restructuring of content. 4 months ago
LICENSE_CODE Added licenses for code and content 1 year ago
LICENSE_CONTENT Added licenses for code and content 1 year ago
README.md Major rework: Went from Sass back to CSS, simplified CSS and HTML and replaced some repeating code with macros. Also minor updates and restructuring of content. 4 months ago
config.toml Major rework: Went from Sass back to CSS, simplified CSS and HTML and replaced some repeating code with macros. Also minor updates and restructuring of content. 4 months ago

README.md

Regrow.Earth

This repository contains all the source code of the website Regrow.Earth, which is built with the static site generator Zola.

Files and directories

  • config.toml
    Basic site configuration file, contains options like the website title and description, base URL, RSS settings and the nav and footer links

  • templates/
    Contains the HTML+Tera code that makes up the structure of the site

  • sass/
    Contains the site styling written in SASS, a simplified version of CSS with some handy features to make code less redundant and easier to modify

  • content/
    Contains all the Markdown documents that make up the content of the site

Run it yourself

First of all, you need to have Zola installed. You can then clone this repository:

$ git clone https://codeberg.org/regrow.earth/regrow.earth.git

Then enter the directory and make sure you are on the "main" branch:

$ cd regrow.earth
$ git checkout main

Now you can use Zola to serve the site:

$ zola serve
Building site...
(...)
Web server is available at http://127.0.0.1:1111

If you want to run this on your own site, you will have to make some changes in the config.toml file, as well as the site's content. You can change colours by adapting the file static/main.css.