https://github.com/antarctica/basdoc
BAS template for Quarto presentations with reveal.js
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.4%) to scientific vocabulary
Repository
BAS template for Quarto presentations with reveal.js
Basic Info
- Host: GitHub
- Owner: antarctica
- License: mit
- Language: HTML
- Default Branch: main
- Homepage: https://antarctica.github.io/basdoc/template
- Size: 3.04 MB
Statistics
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Quarto BAS Theme
This is a template repository using Quarto reveal.js:

This is a minimal template intended to mimic the Presentation Hub's PowerPoint guidance.
It sets background images for the title and content slides, and refers to the BAS Style Kit CSS file, as per the BAS Style Kit's Getting Started page.
Installing
New Directory
bash
quarto use template antarctica/basdoc
This will install the extension in a new directory and create a template.qmd (automatically named after your new directory) file that you can use as a starting place for your presentation.
Existing Directory
To add the extension to an existing directory, you can use:
bash
quarto add antarctica/basdoc
This will add the extension to an existing directory, but will not provide you with a template.qmd file. Note that you will need to update the YAML headers in your existing qmd files (or _quarto.yml) to refer to basdoc-revealjs, matching template.qmd:
yaml
format:
basdoc-revealjs: default
Background images
You can choose different background images for title and content slides directly from the presentation toolkit.
To change the title slide image, in _extensions/basdoc/_extension.yml replace data-background-image:.
yaml
title-slide-attributes:
data-background-image: https://nercacuk.sharepoint.com/sites/basdigitalwmod-communications/creative%20services%20assets/ppt_title_halley.jpg
For content slides, in _extensions/basdoc/custom.scss replace background-image:
sass
/*-- scss:rules --*/
.slide-background-content{
background-image: url("https://nercacuk.sharepoint.com/sites/basdigitalwmod-communications/creative%20services%20assets/ppt_page_glider01.jpg");
background-size: 100% 100%
}

If you want to override the global content slide background, you can do so by specifying it in the slide title:
```md
Content slides {background-image=https://nercacuk.sharepoint.com/sites/basdigitalwmod-communications/creative%20services%20assets/pptpageadelie01.jpg}
text ```
Note that images will only be displayed, if you have access to the BAS Digital Workspace.
Using this as a GitHub repository template
This repository can also be used as a GitHub repository template. Click Use this template above to make a copy of it to your own account.
Enabling GitHub actions and GitHub Pages
One benefit is using GitHub actions to automatically build the presentation as a GitHub pages website.
In your repository settings, enable GitHub Actions (if they aren't already) and Pages.
Under the Actions page in your repo's settings, under Workflow permissions enable "Read and Write Permissions".
Once the actions have run once and created the gh-pages branch, you can select it as your pages source under the Pages page.
Note that while your main presentation file might take one of a number of names (e.g. template.qmd, your-directory-name.qmd etc.), Github Pages will always look for index.html (the rendered version of index.qmd) for the landing page. You will need to rename your main presentation file to index.qmd, for your presentation to render on your-organisation.github.io/your-repository. For example, template.qmd will render on your-organisation.github.io/your-repository/template.
Contributing
Without write access
Corrections, suggestions and general improvements are welcome as issues.
You can also suggest changes by forking this repository, and opening a pull request. Please target your pull requests to the main branch.
With write access
You can push directly to main for small fixes. Please use PRs to main for discussing larger updates.
Acknowledgements
Template created using Quarto Creating Extensions > Custom Formats.
CSS Style sheets and guidance from BAS Style Kit.
Background images and guidance from BAS Presentation Hub.
Github Actions templating was adapted from David Wilby's quarto-presentation-template.
This repository aims to provide a minimum template. Further customisation is up to the user, see General Guidance on branding and logos.
Owner
- Name: British Antarctic Survey
- Login: antarctica
- Kind: organization
- Email: info@bas.ac.uk
- Location: Cambridge, UK
- Website: https://www.bas.ac.uk/
- Twitter: BAS_News
- Repositories: 118
- Profile: https://github.com/antarctica
British Antarctic Survey (BAS) delivers world-leading interdisciplinary research in the Polar Regions
GitHub Events
Total
- Push event: 1
Last Year
- Push event: 1