Giter Site home page Giter Site logo

stevenwinfo / twsio-static-site-generator Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 53 KB

The static site generator I wrote to build my website thiswebsiteis.online

Home Page: http://thiswebsiteis.online

License: GNU Affero General Public License v3.0

Clojure 100.00%

twsio-static-site-generator's Introduction

TWSiO Static Site Generator

The static generator that I created for my site thiswebsiteis.online. Made using stasis.

It's not intended to be super reusable, it's really just a bunch of scripts cobbled together. I'm more just making my scripts available just for whoever wants to see them. Maybe there's something interesting in there to someone.


The actual content for the site is included in a directory called /resources that I have not included in this repository. The generator handles files in that directory differently based on which subdirectory they're in.

  • /site/

    • Other than the blog, this creates the pages for the site by rendering either the mustache template or markdown file and putting it into the default template, and putting it at the corresponding place in the URL path that it's in, in the file system path.
  • /site/blog/

    • Handles them as blog posts using the blog post template, putting them into the blog feed by order of their date.
  • /templates/

    • Templates that are used to generate other pages or pages with lots of metadata.
  • other

    • All other pages in the /resources/ directory are just copied over to the same place in the URL path as the file path as is.

twsio-static-site-generator's People

Contributors

twsio avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.