Giter Site home page Giter Site logo

halfanavocado / ssg Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 76 KB

Static site generator (SSG) implemented in Kotlin that I use to generate my personal website

Home Page: https://marvinelsen.com

License: MIT License

Kotlin 100.00%
static-site-generator

ssg's Introduction

ssg's People

Contributors

halfanavocado avatar

Watchers

 avatar

ssg's Issues

Implement "uses-this" feature

  • Store software I use in a special YAML file uses-this.yaml
  • Using that file as input generate a HTML page listing the software I use
  • For each entry in the YAML input:
    • Generate a HTML description list dl, where:
    • The description term dt is the name of the software category (e.g. Operating System, Text editor, Web browser)
    • The description details dd is a list of links a of the software that I use, where:
      • The link text is the name of the software
      • The link href attribute is the link to the software's official website

Example YAML input

- title: Core
  categories:
  - title: Operating system
    software:
    -  name: Manjaro
       link: https://manjaro.org/
    -  name: Android
       link: https://www.android.com/
  - title: Init system
    software:
    -  name: systemd
       link: https://systemd.io/
    -  name: runit
       link: https://smarden.org/runit/

Example HTML output

<section>
  <h2>Core</h2>
    <dl>
      <dt>Operating system</dt>
      <dd><a href="https://manjaro.org/">Manjaro</a>, <a href="https://www.android.com/">Android</a></dd>
      <dt>Init system</dt>
      <dd><a href="https://systemd.io/">systemd</a>, <a href="https://smarden.org/runit/">runit</a></dd>
    </dl>
</section>

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.