Skip to content
This repository was archived by the owner on Feb 5, 2021. It is now read-only.

keep-it-cool/hackathon-hugo

Kangaroute first prototype [ARCHIVED]

  • Static website in Hugo
  • Deployed on Netlify
  • Data persisted as markdown and config files on github
  • NetlifyCMS to edit content (Netlify Identity for the authentication)
  • Netlify forms to get public data (bot protection), form submissions are inserted into google sheets using a Zap from Zapier

Local Development

Clone this repository, and run yarn or npm install from the new folder to install all required dependencies. Then start the development server with yarn start or npm start.

About the template used

This is a small business template built with Victor Hugo and Netlify CMS, designed and developed by Darin Dimitroff, spacefarm.digital.

Layouts

The template is based on small, content-agnostic partials that can be mixed and matched. The pre-built pages showcase just a few of the possible combinations. Refer to the site/layouts/partials folder for all available partials.

Use Hugo’s dict functionality to feed content into partials and avoid repeating yourself and creating discrepancies.

CSS

The template uses a custom fork of Tachyons and PostCSS with cssnext and cssnano. To customize the template for your brand, refer to src/css/imports/_variables.css where most of the important global variables like colors and spacing are stored.

SVG

All SVG icons stored in site/static/img/icons are automatically optimized with SVGO (gulp-svgmin) and concatenated into a single SVG sprite stored as a a partial called svg.html. Make sure you use consistent icons in terms of viewport and art direction for optimal results. Refer to an SVG via the <use> tag like so:

<svg width="16px" height="16px" class="db">
  <use xlink:href="#SVG-ID"></use>
</svg>

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors