Skip to content

Introduction to GitHub pages presented during the developer group meeting 23/02/2024

License

Notifications You must be signed in to change notification settings

astro-group-bristol/intro-to-githubpages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Making a Free Static Website with Github Pages.

23rd Febuary 2024

AIM of today.

  • Everyone will have a personal website. LIVE!!

although it might not have much content.

Why would you want a personal website?

  • A living CV.
  • Demonstration of your research.
  • A way to standout
  • Show off some of your coding skills.

A personal website for an academeic acts as a living protfolio of your expereinces qualifiacations, talks you have done, interests you have and a place to keep a list of your publications.

As an example here are a few websites used by this group.

Do you need to learn HTML, Javascript and CSS?

Absolutely not there are some great repositories that can act as a template for you to start with.

How can you begin?

The "Hard" route

simply create a repository call your username.github.io and publish it with a empty index.html file.

The "Simple" route

Simply find your faviorite template fork the repo and change the name to username.github.io

Web Developement Tips.

How does Github Create a website?

Github runs a workflow that takes the files in your repository and creates a website from them. This is done using a tool called Jekyll. Jekyll is a static site generator that's perfect for GitHub Pages sites.

TASK

Now lets try to create a website using one of the two methods. If you are using the "Simple" route you can use the following template instructions. And move on to customising the template. With the Markdown files.

If you are using the "Hard" Just start with a blank index.html file. Your repoo will be at username.github.io.

Use this basic code.

<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
</body>
</html>

Whats next?

About

Introduction to GitHub pages presented during the developer group meeting 23/02/2024

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published