Department of Statistics
Computing Committee
Benjamin Osafo Agyare
and
Jesse Wheeler
09/05/2024
Why Academic Website/Portfolio?
Market Yourself/Learn Personal Branding
Showcase your projects and Publications
Maintain Academic Blog/Share Knowledge
Repository for Resources
And Many More…
1
2
3
5
4
Example Contents of Academic Website
Header, Footer and Navigation Bar
Favicon
Introductory Statement (About Me)
Experience (Teaching and Working)
Research/Projects/Publications
News/Upcoming Talks/Events
Miscellaneous (Awards, Service, Contact Forms)
1
2
6
3
5
4
7
Website Basics
HTML Source options
Server / Host options
Both
HTML Source options
Server / Host options
Both
Quarto / GitHub pages
Requirements
Workflow
Quarto Introduction
Quarto is an engine built by Posit (company formerly known as RStudio) that can run Jupyter notebooks, R markdown files, and be used to develop websites.
Getting Started
There are three ways to initialize a Quarto website�
quarto create project website <mysite>�
RStudio
The Quarto Website will be an RStudio “project”.
This created a new directory, called <website-title>, and auto-generated a few files:
<website-title>� — _quarto.yml - Configuration file
— about.qmd - “About page”
— index.qmd - Landing page
— <website-title>.Rproj
— styles.css - Custom CSS (empty)
— (.git) - (Hidden Git directory)
To render the website: in RStudio, click the “Render” button. Alternatively in a terminal, use the command: quarto render in the correct directory.
<website-title>� — _quarto.yml - Configuration file
— about.qmd - “About page”
— index.qmd - Landing page
— <website-title>.Rproj
— styles.css - Custom CSS (empty)
– _site
– about.html - HTML about
– index.html - HTML index
– …
Publishing Website
To publish our website, we will use GitHub Pages. Full instructions can be found here (both options).
There are two main approaches:
Easy version: main branch
project:
type: website
output-dir: docs
quarto render
Easy version: main branch
git remote add origin <insert address here>
Now you should have a live website, located at either:
_quarto.yml
This YAML file is the website configuration file. It contains basic settings for aesthetics and navigation for your website.
There are three main components of this file:
index.qmd and .qmd files
Customization
Your new website is easy to customize using some built-in templates. If you want to go outside of these templates, it gets a bit harder. Here are some good resources:
Introduction to Hugoblox/Netlify
(Practice)
Toolkit
GitHub Account
Netlify Account (created on-the-fly)
1
2
Getting Started
Getting Started
1
Choose Academic Template or another
Getting Started
1
Choose Academic Template or another
2
Select Deploy to Netlify:
Getting Started
1
Choose Academic Template or another
2
Select Deploy to Netlify:
Getting Started
1
Choose Academic Template or another
2
Select Deploy to Netlify:
Getting Started
3
Connect to GitHub
Getting Started
4
Save and Deploy
Getting Started
5
Confirm that it is deployed
temporary site name
Getting Started
7
Change Site name
Getting Started
7
Change Site name ct’d
Getting Started
7
Change Site name ct’d
Getting Started
8
Site Content
Site Structure
There are 4 main folders for Hugo-based sites (FOUND IN THE GitHub REPO USED):
Additional Approaches