-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from steno-aarhus/repo-sync/sdca-theme/default
- Loading branch information
Showing
7 changed files
with
95 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,37 @@ | ||
name: Build website | ||
|
||
on: | ||
push: | ||
branches: main | ||
branches: | ||
- main | ||
|
||
name: build-deploy | ||
# you need these permissions to publish to GitHub pages | ||
permissions: | ||
contents: write | ||
pages: write | ||
|
||
jobs: | ||
build-deploy: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup R | ||
uses: r-lib/actions/setup-r@v2 | ||
with: | ||
use-public-rspm: true | ||
|
||
- name: Install dependencies | ||
uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
cache-version: 1 | ||
|
||
- name: Set up Quarto | ||
uses: quarto-dev/quarto-actions/setup@v2 | ||
with: | ||
tinytex: false | ||
# To install LaTeX to build PDF book | ||
tinytex: false | ||
# uncomment below and fill to pin a version | ||
# version: SPECIFIC-QUARTO-VERSION-HERE | ||
|
||
# add software dependencies here and any libraries | ||
|
||
- name: Publish to Netlify (and render) | ||
# NOTE: If Publishing to GitHub Pages, set the permissions correctly (see top of this yaml) | ||
- name: Publish to GitHub Pages (and render) | ||
uses: quarto-dev/quarto-actions/publish@v2 | ||
with: | ||
target: netlify | ||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | ||
|
||
target: gh-pages | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # this secret is always available for github actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
title: sdca-theme | ||
author: Luke W. Johnston | ||
version: 0.1.0 | ||
quarto-required: ">=1.3.0" | ||
contributes: | ||
formats: | ||
html: | ||
toc: true | ||
from: markdown+emoji | ||
theme: | ||
- litera | ||
- theme.scss | ||
|
||
project: | ||
project: | ||
type: website | ||
|
||
website: | ||
repo-branch: main | ||
repo-actions: [edit, issue, source] | ||
search: | ||
location: navbar | ||
type: overlay | ||
page-footer: | ||
center: | ||
- text: "License: CC BY 4.0" | ||
href: https://creativecommons.org/licenses/by/4.0/ | ||
- text: "Contributing guidelines" | ||
href: https://steno-aarhus.github.io/research/CONTRIBUTING.html | ||
- text: "Code of Conduct" | ||
href: https://steno-aarhus.github.io/research/CODE_OF_CONDUCT.html | ||
|
||
reference-location: margin | ||
title-block-banner: images/banner.png | ||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/*-- scss:defaults --*/ | ||
|
||
@import url('https://fonts.googleapis.com/css2?family=Montserrat'); | ||
@import url('https://fonts.googleapis.com/css2?family=Mukta'); | ||
|
||
$font-family-serif: "Montserrat", sans-serif !default; | ||
$font-family-sans-serif: "Montserrat", sans-serif !default; | ||
$headings-font-family: "Mukta", sans-serif !default; | ||
$primary: #990032; | ||
$navbar-bg: #990032; | ||
$title-banner-color: black; | ||
|
||
/*-- scss:rules --*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
title: "Website Directory" | ||
title-block-banner: false | ||
--- | ||
|
||
These are other websites across Steno Aarhus: | ||
|
||
- [Official site](https://www.stenoaarhus.dk/research): The official | ||
Region Midt website for more general public information and details. | ||
- [Research Common Docs](https://steno-aarhus.github.io/research): | ||
Common documents and operating prodecures for researchers across | ||
Steno Aarhus. | ||
- [Epidemiology and | ||
Statistics](https://steno-aarhus.github.io/epi-stats): Events and | ||
activities related to epidemiology and statistics. | ||
- [Register Research | ||
Space](https://steno-aarhus.github.io/register-space): Events and | ||
activities related to register-based research. | ||
- [Internationalization](https://steno-aarhus.github.io/internationalization): | ||
Efforts to spread knowledge and connect with other countries, | ||
specifically Latin America. | ||
- [Epidemiology Group](https://steno-aarhus.github.io/epi): | ||
Documentation for meetings within the epidemiology group. | ||
- [Coding Cafe](https://coding-cafe-sdca-au.netlify.app/): Schedule | ||
for in-person coding support and help. |