GitXplorerGitXplorer
t

one-click-hugo-cms

public
0 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
79e955be2d36900929b2f75ace3c3d67577ef1bf

Update dependency hugo-bin to ^0.73.0

rrenovate-bot committed 4 years ago
Unverified
00943bae751e71dee97e5b67519a4f59bf81a3c3

Update dependency netlify-cms-app to ^2.15.27

rrenovate-bot committed 4 years ago
Unverified
1eca91df04472a90ccff12cb0ccafcc4a43f5b55

Update dependency hugo-bin to v0.72.5

rrenovate-bot committed 4 years ago
Unverified
d1e1c5fd927e4b07acecc26be4beb8e0e3e6c217

Lock file maintenance

rrenovate-bot committed 4 years ago
Unverified
eb7ea6917dfc8241efd6ab1b4fba8ae58b0ce617

Update dependency hugo-bin to ^0.72.0

rrenovate-bot committed 4 years ago
Unverified
52e3983e6144b30943083d937b1d37080674365c

Update dependency optimize-css-assets-webpack-plugin to v5.0.8

rrenovate-bot committed 4 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/taty2010/one-click-hugo-cms/main/#SVG-ID"></use>
</svg>