Git Product home page Git Product logo

website's Introduction

a gohugo.io website for the jmonkeyengine.org website.

These files are the content and theme files used to generate flat html files using gohugo.

To use these files:

  • Download gohugo.io.
  • execute git clone https://github.com/jMonkeyEngine/website.git in the directory containing hugo.
  • navigate into the website directory created by the clone action.
  • execute the hugo command to compile the files to flat HTML. These files are compiled to the ./public directory.
  • execute hugo server -D to start a server on localhost:1313 and allow live-editing of the files.

Executing the hugo command will compile and publish all files into the ./public folder.

Updating the main website

The ./website/public directory contains a git repository pointing to https://github.com/jMonkeyEngine/jmonkeyengine-ghpage. This repository contains the content that is displayed on the jmonkeyengine.org domain.

  • Carry out any changes you wish to make.
  • Execute the hugo command in the website directory to build the static pages to the public directory.
  • Navigate to the ./website/public/ directory.
  • Commit and Push your changes.

Global Messages

To enable a global message edit the ./config.toml file. Under the params section are three values:

# global_message_error = "This is an error message."
# global_message_warning = "This is a warning message."
# global_message_info = "This is an information message."

To display a global message un-remark the type of message you want to display and amend the message accordingly.

Creating News Pages

To create a new blog page, create a new markdown file in the ./website/content/blog/ directory named somename.md and use the template below.

---
title: "The Title of My Article"
date: 2019-10-08T06:27:00+00:00
draft: false
type: "blog"
layout: "post"

authors:
    - "jayfella"

tags:
    - "asset-store"
    - "software"
---

This is my article. There are many like it but this one is mine.

![A small image](https://i.imgur.com/YsbKHg1.gif)

{{< figure
    src="//i.ibb.co/42rX9bm/image.png"
    class="ui fluid image"
    title="A large image that needs to be resized based on the width of the window."
>}}

My article is my best friend. It is my life. I must master it as I must master my life.

website's People

Contributors

ali-rs avatar dependabot[bot] avatar jayfella avatar riccardobl avatar stephengold avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

8keep alrikg ali-rs

website's Issues

Forum link broken

Forum link now shows.
Congratulations you just installed discord page sign up instead of the forum itself.

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.