{"repo":"wearemd/static-site-starter","free":true,"listed":false,"github":"https://github.com/wearemd/static-site-starter","clone":"git clone https://github.com/wearemd/static-site-starter.git","description":"📦 A starter template for static sites","language":"Sass","stars":10,"topics":["starter","starter-template","starter-kit","static-site","static-website","make","makefile","yarn","babel","browsersync"],"license":"GPL-3.0","category":"saas-starters-boilerplates","readme_excerpt":"Static site starter is a starter template for static sites. Stack: Babel , Browsersync , Gulp , minireset.css , Pug , Sass , Webpack . - - - 📝 Table of contents - Prerequisites - Commands - Project structure - Layout structure - Cache busting - Setting meta tags - Authors - Contributing - License - - - ⚙️ Prerequisites - asdf - Make - Node.js - Yarn ⌨️ Commands Serve 💡 This command will also install dependencies on first run and when package.json or yarn.lock files are updated. Build 💡 This command will also install dependencies on first run and when package.json or yarn.lock files are updated. Help 🗄️ Project structure 🖥 Layout structure The starter comes with a simple layout, structured like the following: Highlighting site structure There is also a Sass utility allowing to highlight the site structure (pretty useful in development). Simply uncomment @import \"dev/structure.sass\" in style.sass if you want to use it. 🍱 Cache busting Our strategy for cache busting is to automatically append a ?v=[version] to each asset query. When you need to bust the cache, simply update version in package.json . In Pug templates an assetVersion variable is available. Usage: In Sass files an urlVersion function is available. Usage: ⚙️ Setting meta tags It is required to do some configuration to get title , description and og: meta tags ready for production. You can read more about OG meta tags in the Open Graph protocol documentation. Step 1: Set the following variables in default.pug :","default_branch":null,"files":null,"tree":[],"storefront":"/r/wearemd","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wearemd/static-site-starter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}