Coder Social home page Coder Social logo

hellocards's Introduction

remote.cards

Generate a “Hello” card and tell your audience what you’re up to.

remotecards.netlify.com

About the build

Read more about it in How I built this site.

Prerequisites

You need to have the latest/LTS node and npm versions installed.

You will also need to install hugo, preferably using Homebrew:

brew install hugo

Installation

Clone this repository:

git clone https://github.com/harrycresswell/hellocards.git

Then run:

npm install

This will install the necessary dependencies.

Local development

To start a local development server at at https://localhost:1313/ run:

npm start

This is a simple NPM Script which hugo server --disableFastRender.

Production build

Whe your ready to build a production ready site, update the baseUrl inside config.toml then run:

npm run clean && npm run build

This will remove the /public folder and run a fresh build ready for production.

Basic concepts

A few of the basic concepts to get the most out of using this theme.

Adding Content

Create a new markdown file in the ./content/articles directory:

hugo new articles/my-new-article.md

Create a new page in the ./content/page directory:

hugo new page/my-new/page.md

Follow the same steps for notes and projects.

Writing Sass

Write your Sass inside ./assets/scss.

With the server running (npm start) Hugo will watch your Sass for changes, then pipe them to ./public/css/main.css and reload the browser.

Making layout changes

To make changes to the layout head to ./themes/hello where you will find /layouts. Inside there you will find templates for partials, shortcodes and taxonomies.

hellocards's People

Contributors

benmclaren avatar dependabot[bot] avatar harrycresswell avatar

Watchers

 avatar

Forkers

benmclaren

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.