GitXplorerGitXplorer
b

kaldi-hugo-cms-template

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
a8f46a60c1cf030cd1d45b267ff670b6594ac3fe

Updated Pages “products”

bbruce-one committed 8 years ago
Unverified
c1ab9d95b458c45c0a948bf56073f4c1563f0b48

Update netlify-cms

bbiilmann committed 8 years ago
Unverified
93e82e315f57fe04e7e6cae34837cc9940792229

Better matching of repo url

bbiilmann committed 8 years ago
Unverified
1f36a552a056908da916d814dd9e7ac2f1daf150

Set repository from env variable or git remote

bbiilmann committed 8 years ago
Unverified
d846af8dc76cd69759d96090a57882caa2d749d2

Update README and add deploy to netlify button

bbiilmann committed 8 years ago
Unverified
9dde2ed6d67ef7bd094612c21afe565d38ef91fd

Add hugo binaries

bbiilmann committed 8 years ago

README

The README file for this repository.

Netlify CMS small-business template

This is a small business template built with Victor Hugo and Netlify CMS.

Getting started

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

Deploy to Netlify

Once that is done, you need to setup the GitHub integration for Netlify CMS.

Go to https://github.com/settings/developers and register a new application.

Then go to the "Access" tab in your new Netlify site and add a GitHub authentication provider.

Once that's done, you'll be able to enter the CMS by going to the URL of your new site and appending /admin

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/bruce-one/kaldi-hugo-cms-template/master/#SVG-ID"></use>
</svg>