Git Product home page Git Product logo

oexs's Introduction

Hugo template for Decap CMS with Netlify Identity

This is a small business template built with Hugo and Decap 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 Decap 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.

Testing

With the development server running, run the tests locally with yarn cypress:run or npm run cypress:run. Or use yarn cypress:open or npm run cypress:open to run interactively.

Cypress tests also run on deploy with the Cypress Netlify integration.

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 Social Icons

The social media icons are in site/assets/img. Make sure you use consistent icons in terms of viewport and art direction for optimal results. For an icon named icons-facebook.svg, refer to the SVG social-icon partial like so:

{{ partial "social-icon" (dict "link" "#" "svg" "icons-facebook" "alt" "Kaldi on Facebook") }}

oexs's People

Contributors

renovate-bot avatar renovate[bot] avatar biilmann avatar dependabot-preview[bot] avatar calavera avatar erquhart avatar tanyabouman avatar atomtigerzoo avatar bdougie avatar tzmanics avatar maxcell avatar martinjagodic avatar benaiah avatar darindimitroff avatar mattsturgeon avatar dependabot[bot] avatar verythorough avatar fool avatar ojn avatar onxs avatar sibiraj-s avatar tinymachine avatar burmecia avatar colorful-tones avatar jwithington avatar madebymike avatar kalinchernev avatar joshua-scott avatar deveth0 avatar okabrionz avatar

Watchers

 avatar

oexs's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Warning

These dependencies are deprecated:

Datasource Name Replacement PR?
npm @babel/plugin-proposal-object-rest-spread Unavailable

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • Update dependency webpack-dev-server to v4.15.2
  • Update babel monorepo (@babel/core, @babel/eslint-parser, @babel/preset-env, @babel/preset-react, @babel/register)
  • Update dependency css-loader to v6.11.0
  • Update dependency decap-cms-app to v3.1.11
  • Update dependency eslint to v8.57.0
  • Update dependency eslint-plugin-cypress to v2.15.2
  • Update dependency eslint-plugin-import to v2.29.1
  • Update dependency eslint-plugin-react to v7.34.4
  • Update dependency html-webpack-plugin to v5.6.0
  • Update dependency hugo-bin to ^0.125.0
  • Update dependency mini-css-extract-plugin to v2.9.0
  • Update dependency sass to v1.77.8
  • Update dependency webpack to v5.93.0
  • Update dependency webpack-merge to v5.10.0
  • Update dependency babel-loader to v9
  • Update dependency copy-webpack-plugin to v12
  • Update dependency css-loader to v7
  • Update dependency css-minimizer-webpack-plugin to v7
  • Update dependency cypress to v13
  • Update dependency date-fns to v3
  • Update dependency eslint to v9
  • Update dependency eslint-plugin-cypress to v3
  • Update dependency exports-loader to v5
  • Update dependency imports-loader to v5
  • Update dependency node to v20
  • Update dependency npm-run-all2 to v6
  • Update dependency postcss-custom-media to v10
  • Update dependency postcss-import to v16
  • Update dependency postcss-loader to v8
  • Update dependency postcss-preset-env to v9
  • Update dependency sass-loader to v14
  • Update dependency style-loader to v4
  • Update dependency webpack-cli to v5
  • Update dependency webpack-dev-server to v5
  • Update dependency webpack-merge to v6
  • Update react monorepo to v18 (major) (react, react-dom)

Detected dependencies

npm
package.json
  • @babel/preset-react ^7.17.12
  • cypress ^10.5.0
  • date-fns ^2.28.0
  • decap-cms-app ^3.0.2
  • immutable ^4.1.0
  • netlify-plugin-cypress ^2.2.1
  • react ^17.0.2
  • react-dom ^17.0.2
  • to-string-loader ^1.2.0
  • @babel/core ^7.16.0
  • @babel/eslint-parser ^7.16.3
  • @babel/plugin-proposal-object-rest-spread ^7.20.7
  • @babel/preset-env ^7.16.0
  • @babel/register ^7.16.0
  • assets-webpack-plugin ^7.1.1
  • autoprefixer ^10.4.7
  • babel-loader ^8.2.3
  • clean-webpack-plugin ^4.0.0
  • copy-webpack-plugin ^9.1.0
  • cross-env ^7.0.3
  • css-loader ^6.5.1
  • css-minimizer-webpack-plugin ^4.0.0
  • eslint ^8.2.0
  • eslint-plugin-cypress ^2.13.3
  • eslint-plugin-import ^2.26.0
  • eslint-plugin-react ^7.32.2
  • exports-loader ^3.1.0
  • file-loader ^6.2.0
  • html-webpack-plugin ^5.5.0
  • hugo-bin ^0.98.0
  • imports-loader ^3.1.1
  • mini-css-extract-plugin ^2.4.4
  • npm-run-all2 ^5.0.0
  • postcss ^8.3.11
  • postcss-custom-media ^8.0.2
  • postcss-import ^14.0.2
  • postcss-loader ^6.2.0
  • postcss-preset-env ^7.7.2
  • sass ^1.53.0
  • sass-loader ^12.3.0
  • style-loader ^3.3.1
  • terser-webpack-plugin ^5.2.5
  • webpack ^5.64.1
  • webpack-cli ^4.9.1
  • webpack-dev-server ^4.5.0
  • webpack-merge ^5.8.0
nvm
.nvmrc
  • node 16

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.