GitXplorerGitXplorer
f

one-click-hugo-cms

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
3a46e313ab10a2676e614795c7da43033bd1739a

Update netlify CMS

bbiilmann committed 7 years ago
Verified
8745627e7d171b4b1fd2062b4328bf23899663e9

Merge pull request #11 from netlify-templates/update-for-cms-1-0

bbiilmann committed 7 years ago
Unverified
a4bfd44601069a1b054c396ad754c8a2b7ec688c

Update Netlify CMS

bbiilmann committed 7 years ago
Unverified
d91206659bd17c190e2940a2c564f371cafc7ebc

Update hugo and content structure; add home page to CMS

bbiilmann committed 7 years ago
Unverified
3dc23ec6642f8238a9bb3e618544108cddcf2791

Move Contact page into the CMS

BBenaiah committed 7 years ago
Unverified
665598c6d4d16a0cb3ac8a9eecc3a24cc40ca225

Move Values page into the CMS

BBenaiah committed 7 years ago

README

The README file for this repository.

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="https://raw.githubusercontent.com/fv3rdugo/one-click-hugo-cms/master/#SVG-ID"></use>
</svg>