Skip to content

Commit

Permalink
Merge pull request #1 from reside-ic/mrc-3816
Browse files Browse the repository at this point in the history
  • Loading branch information
richfitz authored Nov 17, 2022
2 parents ceeeca1 + a2bb8d9 commit 6e166d4
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
# extended: true
extended: true

- name: Build
run: hugo --minify
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.hugo_build.lock
public/
resources/
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "themes/PaperMod"]
path = themes/PaperMod
url = https://github.com/adityatelange/hugo-PaperMod.git
[submodule "themes/papermod-changelog"]
path = themes/papermod-changelog
url = https://github.com/reside-ic/papermod-changelog.git
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,20 @@ The front matter options that might be useful:
---
title: "Add a title here"
date: 2022-10-20T13:51:48+01:00
tags: ["release"]
hideSummary: false # set this to true to prevent the summary
summary: "A string here" # set this to force the summary content
tags: ["Feature"]
version: ["wodin v0.1.4"]
---
```

## Writing posts

Please include a tag in your post header using `tags: ["Feature"]`. Please use one of the following tags:
* Feature - a new feature that users have asked for or will notice
* Update - a smaller update to something in the UI, or a less user facing update change, or a change to logic
* App - a whole new app type

Include a version with the `version` field (e.g., `version: ["wodin v0.1.4"]`).

## Develop

```
Expand Down
2 changes: 2 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
version: ["wodin v0.0.0"]
tags: ["Feature", "Update", "App"]
---

15 changes: 13 additions & 2 deletions config.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
baseURL: "http://reside-ic.github.io/wodin-news/"
languageCode: "en-gb"
title: "Wodin News"
theme: "PaperMod"
theme: ["papermod-changelog", "PaperMod"]
enableEmoji: true

params:
# https://github.com/adityatelange/hugo-PaperMod/wiki/Installation#sample-configyml
DateFormat: "1 January 2006"
DateFormat: "2 Jan 2006"
disableThemeToggle: true
disableSpecial1stPost: true
hideMeta: false
ShowPostNavLinks: true
homeInfoParams:
Title: Wodin News
Content: What's new and updated in Wodin
tags:
- text: Update
colour: "#FFBA11"
- text: Feature
colour: "#14CC80"
- text: App
colour: "#E31837"

menu:
main:
Expand Down
9 changes: 9 additions & 0 deletions content/posts/demo-site.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: "Demo Site"
date: 2022-11-17T11:18:16Z
version: ["wodin v0.1.4"]
tags: ["Update"]
---

We have added a new demo site to the epimodels deployment at [`epimodels.dide.ic.ac.uk/demo`](https://epimodels.dide.ic.ac.uk/demo) which shows off the main features of Wodin and information on configuration; you'll probably want to refer to this when building a site. The [underlying source repo](https://github.com/mrc-ide/wodin-demo-config) may be a useful resource when building a deployment too.

2 changes: 2 additions & 0 deletions content/posts/initial-release.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Initial release"
date: 2022-10-20T13:51:48+01:00
version: ["wodin v0.1.4"]
tags: ["Feature"]
---

We have made the initial release of Wodin, with the basic app running the first practical for the MSc course :tada:
Expand Down
1 change: 1 addition & 0 deletions themes/papermod-changelog
Submodule papermod-changelog added at 3a057c

0 comments on commit 6e166d4

Please sign in to comment.