Skip to content

Commit

Permalink
make a quarto site
Browse files Browse the repository at this point in the history
  • Loading branch information
martinfleis committed Jun 5, 2024
1 parent dfba7ea commit cd142e5
Show file tree
Hide file tree
Showing 10 changed files with 62 additions and 6,492 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# https://github.com/quarto-dev/quarto-actions/blob/main/examples/quarto-publish-example.yml
on:
push:
branches: main

name: Render and Publish

jobs:
build-deploy:
name: "Build and deploy"
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2

- name: Render the website
run: |
quarto render
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,6 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

/.quarto/
/_site/
3,203 changes: 0 additions & 3,203 deletions 202406_EuroFab_KO/slides.html

This file was deleted.

13 changes: 4 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,13 @@

Archive of talks of the US CUNI team.

## List of talks

- [2024-06-07 EuroFab project Kick-Off meeting](https://uscuni.github.io/talks/202406_EuroFab_KO/slides.html)

## Create a new slide deck

1. Copy the template folder and rename it.
1. Open the `slides` folder, copy the `template.qmd` and rename it.
2. Edit the contents.
3. Navigate to the folder and render slides with `quarto render slides.qmd`
4. Add to the list of talks.
5. Commit & Push!
6. Open https://uscuni.github.io/talks/your_folder/slides.html
3. Add to the list of talks in `index.qmd`.
4. Commit & Push!
5. Open https://uscuni.github.io/talks/slides/slides_name.html

## See docs for more

Expand Down
14 changes: 14 additions & 0 deletions _quarto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
project:
type: website

website:
title: "uscuni_talks"

format:
html:
theme: cosmo
css: styles.css
toc: true



10 changes: 10 additions & 0 deletions index.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: "uscuni_talks"
---

Archive of talks of the US CUNI team. Yay

## List of talks

- [2024-06-07 EuroFab project Kick-Off meeting](slides/202406_EuroFab_KO.qmd)

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ format:
controls-layout: edges
progress: true
include-in-header: ../assets/font.html
embed-resources: true
title-slide-attributes:
data-background-image: ../assets/full_logo.svg
data-background-size: 20%
Expand Down
1 change: 0 additions & 1 deletion template/slides.qmd → slides/template.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ format:
controls-layout: edges
progress: true
include-in-header: ../assets/font.html
embed-resources: true
title-slide-attributes:
data-background-image: ../assets/full_logo.svg
data-background-size: 20%
Expand Down
1 change: 1 addition & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* css styles */
3,278 changes: 0 additions & 3,278 deletions template/slides.html

This file was deleted.

0 comments on commit cd142e5

Please sign in to comment.