a static site generator, using Hugo & NetlifyCMS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Renovate Bot 685ecf82e3 Update dependency cross-env to v7.0.2 4 weeks ago
.dependabot update dependabot config 7 months ago
.github Add project management files. 3 years ago
bin Updates for cms-2.x (#59) 8 months ago
site Use .RelPermalink in post list (#156) 8 months ago
src rebase onto Victor Hugo, update all the things 🎉 8 months ago
.babelrc rebase onto Victor Hugo, update all the things 🎉 8 months ago
.eslintrc.yml chore: remove extraneous quote from eslintrc (#189) 9 months ago
.gitignore upgrade to netlify-cms 0.5 8 months ago
.nvmrc use node 12 2 months ago
CODE_OF_CONDUCT.md Add project management files. 3 years ago
CONTRIBUTING.md Fix misspelling (runing -> running) 2 years ago
LICENSE Add missing license file. 3 years ago
README.md Update README.md 8 months ago
config.toml Create config.toml 8 months ago
netlify.toml remove hugo version lock for netlify 2 months ago
package.json Update dependency hugo-bin to ^0.54.0 4 weeks ago
postcss.config.js rebase onto Victor Hugo, update all the things 🎉 8 months ago
renovate.json update renovate config 7 months ago
webpack.common.js rebase onto Victor Hugo, update all the things 🎉 8 months ago
webpack.dev.js Fixing CleanWebpackPlugin path for webpack.json. AssetsPlugin in webpack.common.js is writing to site/data, not site/content. (#248) 5 months ago
webpack.prod.js rebase onto Victor Hugo, update all the things 🎉 8 months ago
yarn.lock Update dependency cross-env to v7.0.2 4 weeks ago

README.md

Hugo template for Netlify CMS with Netlify Identity

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

Getting started

Use our deploy button to get your own copy of the repository.

Deploy to Netlify

This will setup everything needed for running the CMS:

  • A new repository in your GitHub account with the code
  • Full Continuous Deployment to Netlify's global CDN network
  • Control users and access with Netlify Identity
  • Manage content with Netlify CMS

Once the initial build finishes, you can invite yourself as a user. Go to the Identity tab in your new site, click “Invite” and send yourself an invite.

Now you're all set, and you can start editing content!

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.

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>