Giter Club home page Giter Club logo

ministryofjustice.github-prototyper's Introduction

title layout
GitHub Prototyper
plain

GitHub Prototyper

This tool allows you to easy create and update Web pages and publically host them on GitHub pages.

If you don't have write access to this repository, then you could fork it to create a copy under your own GitHub account.

Pages can be added by creating a new file with the md extension. Then simply type your content in the file using the 'Markdown' syntax.

You can create folders and link to other pages - see the 'hello world example' example. You can also put HTML in here if you need to.

That stuff at the top of the file is called 'front matter' which is basically settings for your page, like chosing a template, as well as other options that may be available in a custom template (as a developer if you're not sure). Most commonly 'title' allows you to set the text which appears in the tab (or top of) your browser.

By the way, this is the 'plain' HTML layout, which has a GitHub appearance.

Front matter options

govuk

All are optional except layout.

Variable Description
layout name of the template govuk
title Page title appears in
subheader 4. Sending money
breadcrumbs a list of links. List each line with a hyphen. Each link has a text, followed by a colon, then the link. E.g - Home: https://www.gov.uk/
jumplinks a list of links (as above)
related has three sub-items:
title - the heading on the related info
links - a list of links
more - just a link at the end
previous has two sub-items:
text - text label
link - a link
next has two sub-items:
text - text label
link - a link

For developers…

Running locally

Requires Ruby and Bundler.

bundle install # get dependancies
jekyll serve # run local server

ministryofjustice.github-prototyper's People

Contributors

matharden avatar teneightfive avatar ushkarev avatar lmoney-moj 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.