Giter Site home page Giter Site logo

miladsoft / basilar-template Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sondreb/basilar-template

1.0 1.0 0.0 931 KB

Starting template for a beautiful and basic markdown-to-html website

Home Page: https://demo.sondreb.com/

License: MIT License

JavaScript 48.48% HTML 16.26% CSS 35.25%

basilar-template's Introduction

Basilar

Basilar - "The right tool for the job"

Basilar is a very basic and easy to use static html generator that will produce HTML output from your Markdown files.

Basilar was developed as an alternative to some of the larger frameworks, that ends up generating very verbose output and have expansive list of features.

Basilar is basic, but it's elegant and simple.

Here is how you use it:

git clone https://github.com/sondreb/basilar-template.git
cd Basilar
npm install
npm run build

Basilar let's you focus on your task, which is writing.

Basilar is for developers who want an awesome way to maintain websites, relying on simple logic and GitHub Actions and GitHub Pages.

Basilar is built on Node.js, it does not require any fancy runtime that is not officially supported on your operating system.

Basilar is not some fancy CLI that require you to learn a lot of commands.

Basilar allows you to use your favorite editor.

Enjoy.

Setup

After you either copy the files in this repo or run clone, you can modify the content of your website/blog by editing content within the "pages" folder. The "www" folder is your template, it has a HTML template, CSS and JS file.

All content within "pages" will be replicated into the "dist" output, except for the .md files which will be transformed into .html.

The GitHub Action will publish the "dist" output into the "gh-pages" branch which can be setup to be published to GitHub Pages.

IMPORTANT

You must modify the "CNAME" file and change domain in the file to your own e.g. "www.mydomain.com".

Q&A

Q: Why not publish Basilar as a CLI / package?
A: To make your life easier, you can modify the generator directly to fit your needs.

Q: Can I read the HTML template from an URL?
A: Sure, just modify the code.

Plugins to consider adding:

https://www.npmjs.com/package/markdown-it-include

basilar-template's People

Contributors

sondreb avatar

Stargazers

 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.