Giter Club home page Giter Club logo

sheffuqwebpages's Introduction

Editing SheffieldUQ pages

These are the webpages for the SheffieldUQ group.

Getting started

  • Tell me your github name so that I can add you to the SheffUQ group.
  • Clone the page
git clone https://github.com/rich-d-wilkinson/SheffUQwebpages
cd SheffUQwebpages

Making changes etc.

The structure of the website is defined in /_includes and /_layouts. The site is setup to use markdown. Content lives in .markdown or .md files, such as index.md. These are markdown files, so you don't need to use html tags (see here for example).

Once you've made edits, you'll need to

If that looks okay, commit the code to github,

git add .  # or better, just add the files you've changed
git commit -m 'Description of changes'
git push --set-upstream origin master

and upload it to cpanel. The html files are those in the /_site directory.

cd _site
ftp [email protected]
# enter password
cd public_html
send index.html # I'll figure out how to do this in one go later.

Blog entries

All blog post entries are stored in _posts. The files must

  • Create a new file that obeys the naming convention YEAR-MONTH-DATE-NAME.markdown
  • You can use markdown. I haven't sorted adding latex math equations yet, but I don't think that's hard.
  • Include YAML header information such as
---
layout: post
title:  "event entry"
date:   2016-01-14
author: Richard Wilkinson
authorurl: http://r-wilkinson.staff.shef.ac.uk
categories: jekyll update events blog
---
  • If you include the word 'blog' in the category keywords it will be listed in the blog entries, and if you include the word 'events', it will be on the events page etc.

  • Note that events and blog entries in the future are not included by default, and so you need to specify that they should be included when you build the page:

jekyll serve --future TRUE

Source

The website uses the Jekyll-Pithy theme.

sheffuqwebpages's People

Contributors

oakleyj avatar rich-d-wilkinson avatar

Watchers

James Cloos avatar  avatar  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.