Table of Contents

1. Introduction 2. Concept Overview 3. About Sites115 4. Sites115 Demo 5. Notes

Sites115 Demo

The demo can be found at https://github.com/bankole7782/sites115/tree/main/demo

It is just a demo so it doesn’t contain a lot of content which is what this project is for. It uses a makefile to build its indexes.

Sites115 Demo Makefile

This can be used as a basis for your git hook or github actions. Its contents are:

build:
  cp markdowns -r ~/snap/sites115/common/
  sites115 ~/snap/sites115/common/markdowns
  cp ~/snap/sites115/common/markdowns_md.tar.gz .
  cp ~/snap/sites115/common/markdowns_idx.tar.gz .

Sites115 Demo main.go

Sites115 doesn’t impose a lot of rules on how you write your website. If you take a look at the main.go, you would notice that you are still using vanilla golang.

You still keep your templates where you like and use whatever template library you use. It doesn’t come with any rule on how you organize your file.

It just provides functions to retrieve your markdown and another to search the indexes. How you build your website is up to you.

< Previous Next >