Coder Social home page Coder Social logo

Hugo-PaperMod-NetlifyCMS-Starter

This repository should help you get started with using Hugo and the Papermod theme quickly on Netlify, NetlifyCMS and Netlify Identity. It's based on the hugo-Papermod example site, with NetlifyCMS support added in the /static/admin directory.

Install

Here's the quickest way to get started. Some of the steps below may vary depending on your setup, but this is more or less what I did when setting this up:

  1. Use the deploy to Netlify button below. This will clone this repository into your Github account, and setup continuous integration/deployment through your Netlify account:

Deploy to Netlify

  1. Open a terminal or command prompt and clone your newly created repository onto your local machine
git clone https://github.com/YourUsername/YourNewRepositoryname.git
  1. If you don't already have Hugo installed, now's the time to make that happen! Read the Hugo install docs here.

  2. Once Hugo is installed go to your repository directory on your local machine. Edit config.yml in the root directory. Here you can change alot of the content displayed by Papermod (like the text on the homepage), and also adjust a ton of options. Check out the Papermod docs here for more info).

  3. When you're done editing start Hugo with this command:

hugo server -D
  1. You should now be able to see your site! Hugo will let you know where you can view your site in the terminal (it's usually at localhost:1313)

  2. Finish getting everything in config.yml setup to your liking.

  3. When you're ready you'll want to add/stage all your changes, commit your changes to your local repository, then push your changes back to your Github repository. You may need to setup a personal access token or ssh key. Once you push your changes to Github, Netlify will see that you've updated your repository and push all your changes to your public site. Voila! 🎉

git add -A
git commit -m "Add a useful commit message"
git push origin main
  1. Going forward, you can access NetlifyCMS from /admin to edit or add posts. You may need to do additional Netlify Identitiy setup for CMS login to work. Read more about this here. Usually you have to invite yourself as a user from the 'Identity' tab at Netlfiy, and enable the git-gateway under Identity -> Services.

More Info on Hugo Papermod

Visit the Hugo Papermod Github repo => hugo-Papermod at Github

Read the Hugo Papermod Wiki => hugo-PaperMod - Installation

Find out more about Hugo here => https://gohugo.io

Deepak Shilkar's Projects

bioicons icon bioicons

A library of free open source icons for science illustrations in biology and chemistry

indico icon indico

Indico - A feature-rich event management system, made @ CERN, the place where the Web was born.

jp_lwt icon jp_lwt

A Learning With Texts / LingQ equivalent fine-tuned for Japanese

minimal-mistakes icon minimal-mistakes

:triangular_ruler: Jekyll theme for building a personal site, blog, project documentation, or portfolio.

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.