Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

first commit for quarto blog #132

Open
wants to merge 2 commits into
base: create_quarto
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ yarn-error.log*
src/css/main.css

/.vscode

# Quarto
/blog/.quarto
/blog/_site

1 change: 1 addition & 0 deletions blog/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.quarto/
19 changes: 19 additions & 0 deletions blog/_quarto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
project:
type: website

website:
title: "Ghost Buses Blog"
navbar:
right:
- about.qmd
- icon: github
href: https://github.com/chihacknight/ghost-buses-frontend
- icon: twitter
href: https://twitter.com/ghostbuses
format:
html:
theme: cosmo
css: styles.css



16 changes: 16 additions & 0 deletions blog/about.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: "About"
image: bus-map.jpg
about:
template: jolla
links:
- icon: twitter
text: Twitter
href: https://twitter.com/ghostbuses
- icon: github
text: Github
href: https://github.com/chihacknight/ghost-buses-frontend

---

A blog about the Chicago Transit Authority bus system.
Binary file added blog/bus-map.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions blog/index.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: "Ghost Buses blog"
listing:
contents: posts
sort: "date desc"
type: default
categories: true
sort-ui: false
filter-ui: false
page-layout: full
title-block-banner: true
---


8 changes: 8 additions & 0 deletions blog/posts/_metadata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# options specified here will apply to all posts in this folder

# freeze computational output
# (see https://quarto.org/docs/projects/code-execution.html#freeze)
freeze: true

# Enable banner style title blocks
title-block-banner: true
Binary file added blog/posts/post-with-code/image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions blog/posts/post-with-code/index.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: "Bus Ridership Changes 2019-2023"
author: "Ghost Buses Team"
date: "2024-03-26"
categories: [news, code, analysis]
image: "image.jpg"
---

A post about bus ridership changes from 2019 to 2023.
Binary file added blog/posts/welcome/ghost-bus-logo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions blog/posts/welcome/index.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: "Welcome To The Ghost Buses Blog"
author: "Ghost Buses Team"
date: "2024-03-23"
categories: [news]
---

This is the first post in a Quarto blog. Welcome!

![](ghost-bus-logo.jpg)

Since this post doesn't specify an explicit `image`, the first image in the post will be used in the listing page of posts.
Binary file added blog/posts/welcome/thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added blog/profile.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions blog/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* css styles */