Giter Club home page Giter Club logo

decentralizetheweb's Introduction

Website for Decentralize the Web

Hugo Extended Edition needs to be installed in order to run the website

Installation

macOS

brew install hugo

Linux

sudo apt install hugo

For installation with other package managers, see https://gohugo.io/installation/linux/

Windows

Download hugo_extended_0.XYZ.1_windows-amd64.zip from https://github.com/gohugoio/hugo/releases/tag/v0.124.1

Running

In the root of the directory, use

hugo serve -D

to run the website. It will be running on https://localhost:1313 by default

Creating content

All articles will be stored in the content/ directory. To create a new page, do

hugo new content/example.md

which will create a new markdown file. Replace example.md for the desired slug - e.g., if I want the link to be named https://website.com/how-to-decentralize, it would be hugo new content/how-to-decentralize.md.

Formatting Articles

First thing you will see when you create a new markdown file is the frontmatter, which is placed at the top

---
title: "Title"
draft: true #change this to "false" to make it viewable
date: 2024-03-21T14:50:41-05:00 
tags: ["website"]
featured_image: ""
description: ""
toc: false
icon: ""
---
  • The title property can be changed to whatever you want without it affecting the URL slug.

  • draft is meant to be as a preview while using the Hugo live server, to see changes before creating a pull request

  • date should not be changed.

  • EXPERIMENTAL: tags, we might be incorporating this, might not

  • featured_image can be used to add a "hero" banner image to the article. Leave blank for no featured image

  • EXPERIMENTAL: toc for whether or not the article should contain a table of contents

  • icon, to show what windows 98 icon should accompany the article in both the header and in internal links

Organizing content

Use subdirectories within the content/ folder to categorize different types of content (e.g., content/resources, content/about, etc)

Internal and External Links

TODO

decentralizetheweb's People

Contributors

marceloexc 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.