Skip to content

Commit

Permalink
Set up for 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
EllaKaye committed Nov 25, 2024
1 parent db1a33b commit f653628
Show file tree
Hide file tree
Showing 19 changed files with 3,253 additions and 19 deletions.
4 changes: 2 additions & 2 deletions 2023.qmd → 2024.qmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "2023"
title: "2024"
listing:
contents: "2023/day"
contents: "2024/day"
sort: "date"
type: table
categories: true
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: "2023: Introduction"
date: 2023-11-30
title: "2024: Introduction"
date: 2024-11-25
code-tools: false
categories: [demo]
---

Here's a demo introduction page. It's created from `"./_templates/YYYY-intro"` as part of the call to `aoc_new_year(2023)`.
Here's a demo introduction page. It's created from `"./_templates/YYYY-intro"` as part of the call to `aoc_new_year(2024)`.

It can be deleted with a call to `aoc_delete_intro(2023)` (though there needs to be at least one post in `./2023/day` for the website to render from Quarto v1.4).
It can be deleted with a call to `aoc_delete_intro(2024)` (though there needs to be at least one post in `./2024/day` for the website to render from Quarto v1.4).

This is a good place to note any overarching themes for the year, what you want to practice/learn, etc.
6 changes: 3 additions & 3 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ It works hand-in-hand with the [**aochelpers**](https://ellakaye.github.io/aoche
which makes it incredibly easy to set up new posts, scripts and listings,
using supplied (though personalisable) templates, found in the `_templates` directory.
When a template is copied by functions from **aochelpers**,
e.g. `aoc_new_year(2022)` or `aoc_new_day(1, 2023)`
e.g. `aoc_new_year(2022)` or `aoc_new_day(1, 4)`
any occurrence of "DD" and "YYYY" in both the copied files' titles
and the text inside will be replaced with the value of the `day`
and `year` arguments respectively.
Expand Down Expand Up @@ -86,11 +86,11 @@ In the descriptions below, the `YYYY` and `DD` placeholders are used to indicate
There are other functions for creating and deleting directories and files based on the advent-of-code-website-template. See the package [Reference](https://ellakaye.github.io/aochelpers/reference/index.html) page for details.

## Examples posts
The template comes ready to go for 2023, with a placeholder introduction post,
The template comes ready to go for 2024, with a placeholder introduction post,
and also with an day 1 post for 2022,
so you can see what the templates look in action.
All files related to 2022 can be removed with a call to `aoc_delete_year(2022)`.
The intro post for 2023 can be removed with `aoc_delete_intro(2023)` (once there's another post for 2023 present).
The intro post for 2024 can be removed with `aoc_delete_intro(2024)` (once there's another post for 2024 present).

## Functions for reading in input
**aochelpers** provides functions for reading in input in various ways.
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ It works hand-in-hand with the
which makes it incredibly easy to set up new posts, scripts and
listings, using supplied (though personalisable) templates, found in the
`_templates` directory. When a template is copied by functions from
**aochelpers**, e.g. `aoc_new_year(2022)` or `aoc_new_day(1, 2023)` any
**aochelpers**, e.g. `aoc_new_year(2022)` or `aoc_new_day(1, 2024)` any
occurrence of “DD” and “YYYY” in both the copied files’ titles and the
text inside will be replaced with the value of the `day` and `year`
arguments respectively.
Expand Down Expand Up @@ -135,12 +135,12 @@ page for details.

## Examples posts

The template comes ready to go for 2023, with a placeholder introduction
The template comes ready to go for 2024, with a placeholder introduction
post, and also with an day 1 post for 2022, so you can see what the
templates look in action. All files related to 2022 can be removed with
a call to `aoc_delete_year(2022)`. The intro post for 2023 can be
removed with `aoc_delete_intro(2023)` (once there’s another post for
2023 present).
a call to `aoc_delete_year(2022)`. The intro post for 2024 can be
removed with `aoc_delete_intro(2024)` (once there’s another post for
2024 present).

## Functions for reading in input

Expand Down
Loading

0 comments on commit f653628

Please sign in to comment.