Giter Site home page Giter Site logo

dwarf-underground's Introduction

XTBC17 Source

This is the source for xternbootcamp17.github.io. Build and deploy the site with Hugo.

For development, run each of the following commands in separate terminals:

hugo serve
npm start

The first command starts Hugo's development server (on port 1313 by default) and features hot-reloading.

Hugo does not include support for CSS or JavaScript preprocessors, so we've added package.json with appropriate scripts for compiling stylesheets. It's configured for Stylus, which is very similar to SASS/SCSS. Unlike SASS, it is compiled with JavaScript and doesn't require Ruby. You can also mix SCSS style (with semicolons and curly braces) and SASS style (with significant whitespace) within the same file. Stylus has its own syntax for variables, mixins, etc.

Stylus files are located in static-src/css-src, and the compiled CSS will be placed in /static/css, where Hugo expects to find stylesheets. The npm script will watch for changes in the .styl files, and Hugo will pick up the resulting changes in the .css files and hot-reload.

We've also added autoprefixer, which adds vendor prefixes to CSS rules using values from Can I Use.

dwarf-underground's People

Contributors

sbaughman avatar

Watchers

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