Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
96c4e61
Add NEU ESL to README.md (#2441)
jiangqucheng May 25, 2024
e8a2a40
feat: search.liquid over all collections (#2447)
CheariX May 27, 2024
c7265a9
Delete extra space ; Update blog.md (#2444)
May 27, 2024
da44865
Update docker-slim.yml (#2449)
lantyn May 27, 2024
c0763ff
Fixed news titles in search (#2450)
george-gca May 27, 2024
50a2f67
Add back-to-top to distill layout (#2451)
alshedivat May 27, 2024
1274581
Delete extra space ; Update post.liquid (#2452)
May 28, 2024
d004837
Enable specifying explicit list of external posts to display (#2059)
alshedivat May 28, 2024
351eb12
Bugfix: Updates ninja keys text input color so it is always visible (…
ajyey May 31, 2024
4a2984a
Fix: date pill position on CV (#2455)
abhilesh May 31, 2024
1ef1621
Bugfix: Collapse the navbar on mobile when the user selects search (#…
ajyey May 31, 2024
b35450e
Update search.liquid (#2466)
chiuhoward May 31, 2024
afc56cc
Feature: Dynamically sets the search shortcut key based on the user's…
ajyey May 31, 2024
b4f90ff
Fixes external blog posts in search (#2470)
george-gca Jun 2, 2024
5beffc3
Update README.md (#2479)
jackjburnett Jun 4, 2024
180ae31
[Tweak] Update "search filters" displayed on the blog's front page (#…
rstein66 Jun 7, 2024
1bee4d1
[Tweak] Add bottom padding to project card (#2492)
rstein66 Jun 8, 2024
a04e206
Update README.md (#2493)
Physics-Morris Jun 9, 2024
b861b01
Fixed issue with vega
george-gca Jun 11, 2024
1a7fdde
Fix code blocks not changing to plots and others (#2497)
george-gca Jun 11, 2024
be52a96
fix: remove 'index.html' in pagination (#2509)
asboyer Jun 15, 2024
20c3b08
Added SRaf.ir to README.md (#2510)
saeedrafieyan Jun 17, 2024
ec3bff6
Support pirsch.io for analytics (#2513)
garywei944 Jun 18, 2024
5d3d3ff
Fixed external post symbol on search (#2515)
george-gca Jun 18, 2024
3b1c108
fix: blog highlighted in nav for child pages (#2516)
asboyer Jun 18, 2024
a25df79
Support superscripts in bibtex author names (#2512)
garywei944 Jun 19, 2024
0ac9e44
Added support for a newsletter (#2517)
asboyer Jun 19, 2024
b723e7d
Fixed docker-slim.yml issue
george-gca Jun 19, 2024
fbad870
Add example use of annotation and superscripts in bibtex (#2520)
garywei944 Jun 19, 2024
1569966
Bib changes now trigger build action
george-gca Jun 19, 2024
fb67d30
Changes to docker-slim.yml now trigger action
george-gca Jun 19, 2024
acdc9ff
Changes to deploy-image.yml now trigger action
george-gca Jun 19, 2024
8d82670
Changes to deploy-docker-tag.yml now trigger action
george-gca Jun 19, 2024
cd020af
Update CUSTOMIZE.md for Newsletter support (#2521)
asboyer Jun 20, 2024
fefa247
Fix Altmetric badge not correctly set when Altmetric id is provided (…
garywei944 Jun 20, 2024
f4a6e18
Fix repo card heigth for different repo descriptions (#2525)
tiagolobao Jun 24, 2024
369f0b7
Update README.md
alshedivat Jul 7, 2024
ad8104b
Add linux x86-64 to Gemfile.lock (#2549)
pourmand1376 Jul 7, 2024
0a40a22
feat: simple filtering / searching on bibliography (#2523)
CheariX Jul 8, 2024
f833599
Fix space before some bib commas (#2552)
sim642 Jul 9, 2024
16cee9c
Avoid broken links check for video blog post
george-gca Jul 9, 2024
0e0ee21
Fix search in Distill style post (#2555)
scottleechua Jul 10, 2024
cb0375c
Aggregated search code inside search.liquid (#2558)
george-gca Jul 10, 2024
e7d5c2f
Fixed title search and truncating if larger than 13 words (#2561)
george-gca Jul 10, 2024
d019fc0
Fixed mathjax hash
george-gca Jul 10, 2024
607ff6a
Fixed spacing between {{}} in bib.liquid
george-gca Jul 10, 2024
d904c52
Fixed search for multiline news
george-gca Jul 11, 2024
c4f20b8
Make publication badges always visible (#2565)
scottleechua Jul 11, 2024
83e8a64
fix: search_enabled -> bib_search (#2560)
CheariX Jul 12, 2024
49ada3e
Update collections permalinks in _config.yml
george-gca Jul 13, 2024
8ffd34c
Fixed error in bibsearch.js
george-gca Jul 13, 2024
aef552f
Remove 'version's as it's obsolete; Update docker-compose files (#2574)
Jul 17, 2024
d9ea1b3
Updated to font awesome 6.6.0 (#2581)
george-gca Jul 17, 2024
75ab282
Updated dependencies (#2582)
george-gca Jul 17, 2024
015a477
Fix typo in entry associated to award button (#2583)
htadashi Jul 17, 2024
c3ac172
Improved FAQ readability
george-gca Jul 21, 2024
7100668
Added example of site with css and js not loaded
george-gca Jul 21, 2024
2ebbb80
Expliciting how to handle wrong theme for site in FAQ.md
george-gca Jul 21, 2024
fc15dd6
Fixed prettier complaints on FAQ
george-gca Jul 21, 2024
2db33ea
Add user link to user community (#2592)
tonideleo Jul 22, 2024
b5247d9
Remove github-metadata post (#2599)
sim642 Jul 25, 2024
e7da32f
Lighthouse Badger token as secret (#2589)
stsfaroz Jul 25, 2024
e14f572
Added customizing css to CUSTOMIZE.md (#2602)
george-gca Jul 25, 2024
e46a794
Updated dependencies (#2613)
george-gca Aug 2, 2024
1d4ce5a
[bug-fix] Add padding to default markdown table cells (#2617)
rstein66 Aug 4, 2024
3be24f6
Alon Kellner portfolio link (#2627)
AlonKellner Aug 7, 2024
610f42b
Update Prettier information on FAQ.md
george-gca Aug 7, 2024
5c5c81c
[Bug-fix] Make custom blockquote font coloring consistent (#2622)
rstein66 Aug 7, 2024
04ab383
Fixed prettier complaints on FAQ.md
george-gca Aug 7, 2024
3ff7579
added personal website for Beryl Sui (#2628)
berylbir Aug 8, 2024
dfc7453
[Feature] InspireHEP social and citation count badge (#2638)
riasat-sheikh Aug 19, 2024
1e66e8c
Update README.md (#2644)
MingSun-KAUST Aug 19, 2024
853adef
Adding own github-page to README.md (#2645)
hdocmsu Aug 19, 2024
03f429f
Update _config.yml to add a filtered bibtex keyword (#2648)
CSautier Aug 20, 2024
9b6decc
Fix no github_users titling in repositories.md (#2647)
CSautier Aug 20, 2024
c5c162c
Update INSTALL.md recommended approach
george-gca Aug 22, 2024
c753284
Update INSTALL.md
george-gca Aug 22, 2024
c45c767
Update INSTALL.md with running time of actions
george-gca Aug 22, 2024
cd59ca3
Added video tutorial to install instructions (#2653)
george-gca Aug 22, 2024
ebf2fc9
Update INSTALL.md link to video tutorial
george-gca Aug 22, 2024
debb182
Bump rexml from 3.3.4 to 3.3.6 (#2654)
dependabot[bot] Aug 23, 2024
fbad508
Added gh-pages Formatter (#2649)
MUmarShahbaz Aug 23, 2024
de4e89d
Update README.md (#2661)
trandangtrungduc Aug 26, 2024
6c6932f
Removed inexistent input from lighthouse-badger.yml
george-gca Aug 28, 2024
cd3f4d6
Fixed bug when external posts title is composed of non-ascii chars
george-gca Aug 28, 2024
97f78e5
Update about.md (#2679)
MikolajKocikowski Sep 5, 2024
d50cdf6
Schedule Posts Workflow (#2672)
MUmarShahbaz Sep 9, 2024
4443769
Add my webpage to community list (#2684)
anurye Sep 9, 2024
6632074
Update schedule-posts.txt
george-gca Sep 9, 2024
7203eb1
Update CUSTOMIZE.md scheduled info
george-gca Sep 9, 2024
f0eb587
Fix conditional rendering of tag and category section (#2678)
gsoykan Sep 10, 2024
66607c1
Fixed "All contributors not showing on README.md" (#2688)
MUmarShahbaz Sep 10, 2024
b30b3f4
Increased number of columns to 24 for contributors image
george-gca Sep 10, 2024
92dbc39
Added my portfolio website to README (#2695)
Charlie-XIAO Sep 13, 2024
8e9cf03
Support `_styles` in page layout as in post and distill (#2694)
Charlie-XIAO Sep 13, 2024
0465459
Fixed .webp src creation for svg and other files (#2698)
MUmarShahbaz Sep 13, 2024
d33213e
Bump google-protobuf from 4.27.3 to 4.27.5 (#2709)
dependabot[bot] Sep 19, 2024
daa402f
Update README.md (#2708)
giuseppeperelli Sep 19, 2024
fdaed74
Fixed bug when search result is inside description of external post (…
george-gca Sep 20, 2024
bdf4ce3
Updated dependencies (#2715)
george-gca Sep 24, 2024
6265269
Update entry_point.sh (#2707)
pourmand1376 Sep 26, 2024
c20074c
Fix `entry_point.sh` docker backward compatibility problem (#2728)
pourmand1376 Sep 28, 2024
caddec2
feature: figure support url. (#2586)
iFurySt Oct 1, 2024
c0d53e6
Change Run to use bundle exec instead of normal exec jekyll
pourmand1376 Oct 2, 2024
b74b292
Update bug report with running with docker options
george-gca Oct 2, 2024
421bdf8
fix: do not included downloaded assets in jekyll-minifier (#2749)
CheariX Oct 5, 2024
13572df
Adding a star-link for an academic website. (#2780)
MikolajKocikowski Oct 16, 2024
587b27e
Update README.md (#2771)
devos50 Oct 16, 2024
7639ee8
update dockerfile to render jupyter notebook equations (#2758)
m-julian Oct 16, 2024
332a6df
Update README.md (#2768)
shlee-lab Oct 16, 2024
977a47c
Add DOI field button to bibliography (#2729)
sim642 Oct 16, 2024
0af4aec
Removed sync from template from INSTALL.md (#2781)
george-gca Oct 16, 2024
9d1e1c6
Created GitHub Project Layout with example (#3072)
MUmarShahbaz Jul 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/ISSUE_TEMPLATE/1_bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ body:
description: select all environments where you have experienced this issue
multiple: true
options:
- "Running locally with Docker"
- "Running locally with Docker (docker compose)"
- "Running locally with Docker (devcontainer)"
- "Running locally without Docker"
- "Deployed site"
validations:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/broken-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ jobs:
with:
fail: true
# removed md files that include liquid tags
args: --user-agent 'curl/7.54' --exclude-path README.md --exclude-path _pages/404.md --exclude-path _pages/blog.md --exclude-path _posts/2018-12-22-distill.md --verbose --no-progress './**/*.md' './**/*.html'
args: --user-agent 'curl/7.54' --exclude-path README.md --exclude-path _pages/404.md --exclude-path _pages/blog.md --exclude-path _posts/2018-12-22-distill.md --exclude-path _posts/2023-04-24-videos.md --verbose --no-progress './**/*.md' './**/*.html'
2 changes: 2 additions & 0 deletions .github/workflows/deploy-docker-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
tags:
- "v*"
paths:
- ".github/workflows/deploy-docker-tag.yml"
- ".github/workflows/deploy-image.yml"
- "bin/entry_point.sh"
- "Dockerfile"
- "Gemfile"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- master
- main
paths:
- ".github/workflows/deploy-image.yml"
- "bin/entry_point.sh"
- "Dockerfile"
- "Gemfile"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- main
paths:
- "assets/**"
- "**.bib"
- "**.html"
- "**.js"
- "**.liquid"
Expand All @@ -33,6 +34,7 @@ on:
- main
paths:
- "assets/**"
- "**.bib"
- "**.html"
- "**.js"
- "**.liquid"
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/docker-slim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ name: Docker Slim

#Only trigger, when the build workflow succeeded
on:
push:
branches:
- master
- main
paths:
- ".github/workflows/docker-slim.yml"
workflow_run:
workflows: ["Docker Image CI"]
types:
Expand All @@ -15,7 +21,7 @@ on:
jobs:
build:
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#running-a-workflow-based-on-the-conclusion-of-another-workflow
if: ${{ github.event.workflow_run.conclusion == 'success' }} and github.repository_owner == 'alshedivat'
if: ${{ github.event.workflow_run.conclusion == 'success' && github.repository_owner == 'alshedivat' }}
runs-on: ubuntu-latest
defaults:
run:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/lighthouse-badger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ name: "Lighthouse Badger"
# DEFINE YOUR INPUTS AND TRIGGERS IN THE FOLLOWING
########################################################################

# INPUTS as environmental variables (env) for not manually triggered workflows
# INPUTS as Secrets (env) for not manually triggered workflows
env:
URLS: https://alshedivat.github.io/al-folio/
TOKEN_NAME: LIGHTHOUSE_BADGER_TOKEN
# If any of the following env is blank, a default value is used instead
REPO_BRANCH: "${{ github.repository }} master" # target repository & branch e.g. 'dummy/mytargetrepo main'
MOBILE_LIGHTHOUSE_PARAMS: "--only-categories=performance,accessibility,best-practices,seo --throttling.cpuSlowdownMultiplier=2"
Expand Down Expand Up @@ -50,7 +49,7 @@ jobs:
- uses: actions/checkout@v4
with:
repository: ${{ env.REPOSITORY }}
token: ${{ secrets[github.event.inputs.token_name] || secrets[env.TOKEN_NAME] }}
token: ${{ secrets.LIGHTHOUSE_BADGER_TOKEN }}
ref: ${{ env.BRANCH }}
- uses: actions/checkout@v4
with:
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/prettier-html.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Prettify gh-pages

on:
workflow_dispatch:

jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Checkout gh-pages branch
uses: actions/checkout@v4
with:
ref: gh-pages

- name: Find and Remove </source> Tags
run: find . -type f -name "*.html" -exec sed -i 's/<\/source>//g' {} +

- name: Set up Node.js
uses: actions/setup-node@v4

- name: Install Prettier
run: npm install -g prettier

- name: Check for Prettier
run: npx prettier --version || echo "Prettier not found"

- name: Run Prettier on HTML files
run: npx prettier --write '**/*.html'

- name: Commit and push changes
run: |
git config user.name "github-actions"
git config user.email "actions@github.com"
git add .
git commit -m "Formatted HTML files" || echo "No changes to commit"
git push
39 changes: 39 additions & 0 deletions .github/workflows/schedule-posts.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Publish posts scheduled for today

on:
schedule:
# Run every day at 23:30 UTC or manually run
- cron: "30 23 * * *"
workflow_dispatch:

jobs:
publish_scheduled:
runs-on: ubuntu-latest
steps:
- name: Checkout main branch
uses: actions/checkout@v4
with:
ref: master

- name: Get the date for today
id: date
run: echo "TODAY=$(date +'%Y-%m-%d')" >> $GITHUB_ENV

- name: Check for scheduled posts and move to posts
run: |
echo "Today is $TODAY"
shopt -s nullglob
for file in _scheduled/${TODAY}-*.md; do
echo "Found scheduled: $file"
mv "$file" "_posts/"
echo "Moved $file to _posts/"
done

- name: Commit and push changes
run: |
git config user.name "github-actions"
git config user.email "actions@github.com"
git add _posts/
git add _scheduled/
git commit -m "Posted Scheduled Drafts on $TODAY" || echo "No changes to commit"
git push
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ _site
Gemfile.lock
assets/libs/
node_modules/
vendor
vendor
.idea
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ assets/js/search/*.js
assets/plotly/demo.html
lighthouse_results/**
_posts/2015-10-20-math.md
_sass/font-awesome/*.scss
58 changes: 55 additions & 3 deletions CUSTOMIZE.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ You can easily create your own collections, apps, short stories, courses, or wha

To add publications create a new entry in the [\_bibliography/papers.bib](_bibliography/papers.bib) file. You can find the BibTeX entry of a publication in Google Scholar by clicking on the quotation marks below the publication title, then clicking on "BibTeX", or also in the conference page itself. By default, the publications will be sorted by year and the most recent will be displayed first. You can change this behavior and more in the `Jekyll Scholar` section in [\_config.yml](_config.yml) file.

You can add extra information to a publication, like a PDF file in the `assets/pdfs/` directory and add the path to the PDF file in the BibTeX entry with the `pdf` field. Some of the supported fields are: `abstract`, `altmetric`, `arxiv`, `bibtex_show`, `blog`, `code`, `dimensions`, `doi`, `eprint`, `html`, `isbn`, `pdf`, `pmid`, `poster`, `slides`, `supp`, `video`, and `website`.
You can add extra information to a publication, like a PDF file in the `assets/pdfs/` directory and add the path to the PDF file in the BibTeX entry with the `pdf` field. Some of the supported fields are: `abstract`, `altmetric`, `annotation`, `arxiv`, `bibtex_show`, `blog`, `code`, `dimensions`, `doi`, `eprint`, `html`, `isbn`, `pdf`, `pmid`, `poster`, `slides`, `supp`, `video`, and `website`.

### Author annotation

Expand All @@ -92,7 +92,7 @@ scholar:
first_name: [Albert, A.]
```

If the entry matches one form of the last names and the first names, it will be underlined. Keep meta-information about your co-authors in [\_data/coauthors.yml](_data/coauthors.yml) and Jekyll will insert links to their webpages automatically. The co-author data format is as follows,
If the entry matches one form of the last names and the first names, it will be underlined. Keep meta-information about your co-authors in [\_data/coauthors.yml](_data/coauthors.yml) and Jekyll will insert links to their webpages automatically. The co-author data format is as follows, with the last names lower cased and without accents as the key:

```yaml
"adams":
Expand All @@ -115,7 +115,7 @@ If the entry matches one form of the last names and the first names, it will be
url: https://en.wikipedia.org/wiki/Carl_Philipp_Emanuel_Bach
```

If the entry matches one of the combinations of the last names and the first names, it will be highlighted and linked to the url provided.
If the entry matches one of the combinations of the last names and the first names, it will be highlighted and linked to the url provided. Note that the keys **MUST BE** lower cased and **MUST NOT** contain accents. This is because the keys are used to match the last names in the BibTeX entries, considering possible variations.

### Buttons (through custom bibtex keywords)

Expand All @@ -124,6 +124,7 @@ There are several custom bibtex keywords that you can use to affect how the entr
- `abbr`: Adds an abbreviation to the left of the entry. You can add links to these by creating a venue.yaml-file in the \_data folder and adding entries that match.
- `abstract`: Adds an "Abs" button that expands a hidden text field when clicked to show the abstract text
- `altmetric`: Adds an [Altmetric](https://www.altmetric.com/) badge (Note: if DOI is provided just use `true`, otherwise only add the altmetric identifier here - the link is generated automatically)
- `annotation`: Adds a popover info message to the end of the author list that can potentially be used to clarify superscripts. HTML is allowed.
- `arxiv`: Adds a link to the Arxiv website (Note: only add the arxiv identifier here - the link is generated automatically)
- `bibtex_show`: Adds a "Bib" button that expands a hidden text field with the full bibliography entry
- `blog`: Adds a "Blog" button redirecting to the specified link
Expand All @@ -145,3 +146,54 @@ A variety of beautiful theme colors have been selected for you to choose from. T
## Adding social media information

You can add your social media links by adding the specified information at the `Social integration` section in the [\_config.yml](_config.yml) file. This information will appear at the bottom of the `About` page.

## Adding a newsletter

You can add a newsletter subscription form by adding the specified information at the `newsletter` section in the [\_config.yml](_config.yml) file. To set up a newsletter, you can use a service like [Loops.so](https://loops.so/), which is the current supported solution. Once you have set up your newsletter, you can add the form [endpoint](https://loops.so/docs/forms/custom-form) to the `endpoint` field in the `newsletter` section of the [\_config.yml](_config.yml) file.

Depending on your specified footer behavior, the sign up form either will appear at the bottom of the `About` page and at the bottom of blogposts if `related_posts` are enabled, or in the footer at the bottom of each page.

## Adding Token for Lighthouse Badger

To add secrets for [lighthouse-badger](https://github.com/alshedivat/al-folio/actions/workflows/lighthouse-badger.yml), create a [personal access token (PAT)](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-fine-grained-personal-access-token) and add it as a [secret](https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#creating-encrypted-secrets-for-a-repository) named `LIGHTHOUSE_BADGER_TOKEN` to your repository. The [lighthouse-badger documentation](https://github.com/MyActionWay/lighthouse-badger-workflows#lighthouse-badger-easyyml) specifies using an environment variable, but using it as a secret is more secure and appropriate for a PAT.

Also In case you face the error: "Input required and not supplied: token" in the Lighthouse Badger action, this solution resolves it.

### Personal Access Token (fine-grained) Permissions for Lighthouse Badger:

- **contents**: access: read and write
- **metadata**: access: read-only

Due to the necessary permissions (PAT and others mentioned above), it is recommended to use it as a secret rather than an environment variable.

## Customizing fonts, spacing, and more

You can customize the fonts, spacing, and more by editing [\_sass/\_base.scss](_sass/_base.scss). The easiest way to try in advance the changes is by using [chrome dev tools](https://developer.chrome.com/docs/devtools/css) or [firefox dev tools](https://firefox-source-docs.mozilla.org/devtools-user/). In there you can click in the element and find all the attributes that are set for that element and where are they. For more information on how to use this, check [chrome](https://developer.chrome.com/docs/devtools/css) and [firefox](https://firefox-source-docs.mozilla.org/devtools-user/page_inspector/how_to/examine_and_edit_css/index.html) how-tos, and [this tutorial](https://www.youtube.com/watch?v=l0sgiwJyEu4).

## Scheduled Posts

`al-folio` contains a workflow which automatically publishes all posts scheduled at a specific day, at the end of the day (23:30). By default the action is disabled, and to enable it you need to go to `.github/workflows/` and find the file called `schedule-posts.txt`. This is the workflow file. For GitHub to recognize it as one (or to enable the action), you need to rename it to `schedule-posts.yml`.

In order to use this you need to save all of your "Completed" blog posts which are scheduled to be uploaded on a specific date, in a folder named `_scheduled/` in the root directory.

> Incomplete posts should be saved in `_drafts/`

### Name Format

In this folder you need to store your file in the same format as you would in `_posts/`

> Example file name: `2024-08-26-This file will be uploaded on 26 August.md`

### Important Notes

- The scheduler uploads posts everyday at 🕛 23:30 UTC
- It will only upload posts at 23:30 UTC of their respective scheduled days, It's not uploaded in 23:59 in case there are a lot of files as the scheduler must finish before 00:00
- It will only upload files which follow the pattern `yyyy-mm-dd-title.md`
- This means that only markdown files will be posted
- It means that any markdown which do not follow this pattern will not be posted
- The scheduler works by moving posts from the `_scheduled/` directory to `_posts/`, it will not post to folders like `_projects/` or `_news/`
- The date in the name of the file is the day that file will be uploaded on
- `2024-08-27-file1.md` will not be posted before or after 27-August-2024 (Scheduler only works for posts scheduled on the present day)
- `2025-08-27-file2.md` will be posted exactly on 27-August-2025
- `File3.md` will not be posted at all
- `2026-02-31-file4.md` is supposed to be posted on 31-February-2026, but there is no 31st in February hence this file will never be posted either
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ RUN apt-get update -y && apt-get install -y --no-install-recommends \
imagemagick \
build-essential \
zlib1g-dev \
jupyter-nbconvert \
python3-pip \
inotify-tools procps && \
apt-get clean && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
apt-get clean && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* && \
pip install nbconvert --break-system-packages


RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
Expand Down
Loading