GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - BergerAPI/cssg: Simple blog and SSG

BranchesTags
Open more actions menu

Latest commit

 

History

94 Commits
94 Commits

Folders and files

NameName
Last commit message
Last commit date
content
content
 
 
src
src
 
 
template
template
 
 
.gitignore
.gitignore
 
 
CMakeLists.txt
CMakeLists.txt
 
 
Dockerfile
Dockerfile
 
 
LICENCE.md
LICENCE.md
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 
nginx.conf
nginx.conf
 
 

Repository files navigation

CSSG

This is a simple Static-Site-Generator and my blog. Since I am very creative, I call the SSG "CSSG", due to it being written in C.

Building

To build this, you'll need Cmake and a build-tool like Make.

$ mkdir build ; cd build # Creating and going into the build directory
$ cmake .. # Generating the files for the build-tool
$ make # Compiling

This uses a build-directory so the root-directory isn't full of build files.

Now you can run the SSG. See #usage

Usage

There are 2 parameters that you will need to provide:

  • -file: Defines the file to parse and generate HTML from
  • -template: The template of the html code, which gets all the infos from the file injected in.

An example could look like this:

$ cssg -file content/test.md -template template/post.html 

Example

image

About

Simple blog and SSG

Topics

ssgstatic-site-generationstatic-site-generator

Resources

Readme
Apache-2.0 license
Activity

Stars

3 stars

Watchers

0 watching

Forks

1 fork
Report repository

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.