Coder Social home page Coder Social logo

template-bread's Introduction

Bread Template

A free minimal clean HTML template

This Template created with Temply by Sweefty.com.

Demo

Bread Demo

Tech

Bread template uses:

Installation

Once downloaded extract archive package and cd to the extracted files location, in order to start editing you need to install Temply globally

$ npm install Temply -g

To Compile Source

$ temply compile

You can also run file change watcher to auto compile every time you make a new change:

$ temply watch

If you're not familiar with less/handlebars/nodejs then you still can edit the template directly by going to the dist folder and edit html/css/js files, not recommended though.

Edit The Template

  • init.js : starter js file, where general template options are defined.
  • handlebars : handlebars files will compile to html, *.hbs inside handlebars folder, you can create new pages by placing a new something.hbs file inside handlebars folder, and will be automatically compiled to something.html in the dist folder.
  • less : will be compiled to main.css in dist/assets/css folder.

Less Editing Notes

  • LESS Elements : is pre installed so you can use it immediately.
  • media query : we pre defined some media queries, based on BareCss media queries, you can use as the following:
.some-class-selector {
    @media @small { ... }
    @media @medium { ... }
    @media @large { ... }
    @media @xlarge { ... }
}

handlebars Edit Notes

  • Each page can has it own set of options, to do this at the top of the page add a wellformed json inside {{#config}} {{/config}} handlebars tags.
{{#config}}
    {
        "title" : "About Page",
        "description" : "This is a description",
        ...
    }
{{/config}}
  • You can define handlebars helpers and partials from init.js file, but avoid declaring config and wrapper helpers as they are used internally by Temply.

License

MIT

Free Template, by sweefty.com

template-bread's People

Contributors

mamod avatar

Watchers

ArtyProg 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.