Giter Site home page Giter Site logo

sooryanarayananb / navcoin-org Goto Github PK

View Code? Open in Web Editor NEW

This project forked from navcoin/navcoin-org

0.0 2.0 0.0 50.1 MB

The NavCoin.org static site

Home Page: https://navcoin.org/

License: MIT License

HTML 55.08% JavaScript 1.00% CSS 43.92%

navcoin-org's Introduction

NavCoin.org

Maintained by the global NAV community

Contributing to the site

Want to add a project, update or fix some errors. Then please fork the project and get changing.

Getting started

The NAV community site is built with the static site generator Hugo.

This website is built using Hugo Version 0.46.

Install Hugo

You will need Hugo installed on your system to preview any changes. Follow the install instructions for your OS here: https://gohugo.io/getting-started/installing/

Clone the project

You will need to fork and clone the project on github if you wish to make any changes to the site

Running the site

After cloning the site, cd into the project directory and run it up: cd navcoin-org hugo server

This will serve the site on http://localhost:1313

Please note that Hugo is a hot loading site and that changing and saving files will auto rebuild the site for you.

Editing Content

All content for the site is held in markdown files in the content folder. The content sections match the sections of the site.

This project uses SASS so you will need to do the follow to compile the SASS to CSS:

npm install 
npm run sass # this will watch the sass folder and recompile when a change is detected

Shortcode documentation

For the new theme's shortcodes, see /themes/nav-community-v2/docs/how-to-use-shortcodes.md

Adding news item

When creating a new item it is recommend you use the Hugo commandline tool as this will use the right archetype and populate the properties

hugo new news/[year]/[month]/[post-title]/index.md

You should keep all the post related images in the folder with the index.md folder

News page front meta control:

title: "New Title"                  - The title of the news item
date: 2018-03-07T10:27:21+13:00     - The date and time published - defaults to date created
draft: false                        - Is the item a draft - if true it is not built
author: ""                          - Who authored the article
description: ""                     - currently unused
categories: ["NavCoin Updates"]    - Cats
resources: []                       - currently unused
slug: ""                            - currently unused
feature_image: "image.png"          - The image that should be hero'd
show_title_text: false              - If you want to show the title below the image

Adding projects

When adding a project it is recommend you use the Hugo commandline tool as this will use the right archetype and populate the properties

hugo new projects/project-name/index.md

Project page front-meta control:

title: "Project name"               - Project Name
date: 2018-03-07T10:27:21+13:00     - The date and time published - defaults to date created
lastmod: 2018-03-19T10:27:21+13:00  - The date md was last changed
draft: true                         - Is the item a draft - if true it is not included in the site
author: ""                          - Who is the project lead
description: ""                     - currently unused
resources: []                       - currently unused
categories: []                      - currently unused
slug: ""                            - currently unused
type: "project"                     - Defines this is a project - DO NOT CHANGE
feature_image: ""                   - currently unused
show_title_text: false              - currently unused
in_progress: false                  - Signal that the project has been started
completed: false                    - Signal project is complete
show_on_roadmap: false              - Show the project on the road map
percent_complete: 0                 - How much of the project has been completed
github_url: ""                      - Github repo of the project - Optional
project_url: ""                     - The project URL - Optional
reddit_url: ""                      - Reddit thread / URL - Optional
twitter_url: ""                     - Project twitter url - Optional
card_color: ""                      - Change the card colour - Optional
font_color: ""                      - Change the card font colour - Optional
weight: 0                           - Allows the default position on the roadmap to be overridden

Editing Layouts

The layouts are held in the theme folder currently nav-commnity-v1. Please review the Hugo documentation for layout template information

Editing Styles

CSS styles can be added/edited in the static/css directory. Most of the main styles are in style.css

navcoin-org's People

Contributors

matt-auckland avatar proletesseract avatar kakax114 avatar zanuka avatar red010b37 avatar kierenhyl avatar ro-savage avatar dantudor avatar ifaqyurmama avatar alprestedge avatar

Watchers

James Cloos avatar Sooryanarayanan B  avatar

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.