Skip to content

Commit 26c97e5

Browse files
committed
Merge branch 'al-folio-main'
2 parents b4b7993 + f4a6e18 commit 26c97e5

File tree

21 files changed

+442
-22
lines changed

21 files changed

+442
-22
lines changed

.github/workflows/deploy-docker-tag.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
tags:
66
- "v*"
77
paths:
8+
- ".github/workflows/deploy-docker-tag.yml"
9+
- ".github/workflows/deploy-image.yml"
810
- "bin/entry_point.sh"
911
- "Dockerfile"
1012
- "Gemfile"

.github/workflows/deploy-image.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- master
77
- main
88
paths:
9+
- ".github/workflows/deploy-image.yml"
910
- "bin/entry_point.sh"
1011
- "Dockerfile"
1112
- "Gemfile"

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- main
88
paths:
99
- "assets/**"
10+
- "**.bib"
1011
- "**.html"
1112
- "**.js"
1213
- "**.liquid"
@@ -33,6 +34,7 @@ on:
3334
- main
3435
paths:
3536
- "assets/**"
37+
- "**.bib"
3638
- "**.html"
3739
- "**.js"
3840
- "**.liquid"

.github/workflows/docker-slim.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ name: Docker Slim
22

33
#Only trigger, when the build workflow succeeded
44
on:
5+
push:
6+
branches:
7+
- master
8+
- main
9+
paths:
10+
- ".github/workflows/docker-slim.yml"
511
workflow_run:
612
workflows: ["Docker Image CI"]
713
types:
@@ -15,7 +21,7 @@ on:
1521
jobs:
1622
build:
1723
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#running-a-workflow-based-on-the-conclusion-of-another-workflow
18-
if: ${{ github.event.workflow_run.conclusion == 'success' and github.repository_owner == 'george-gca }}'
24+
if: ${{ github.event.workflow_run.conclusion == 'success' && github.repository_owner == 'george-gca' }}
1925
runs-on: ubuntu-latest
2026
defaults:
2127
run:

CUSTOMIZE.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ You can easily create your own collections, apps, short stories, courses, or wha
9494

9595
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.
9696

97-
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`.
97+
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`.
9898

9999
### Author annotation
100100

@@ -138,6 +138,7 @@ There are several custom bibtex keywords that you can use to affect how the entr
138138
- `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.
139139
- `abstract`: Adds an "Abs" button that expands a hidden text field when clicked to show the abstract text
140140
- `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)
141+
- `annotation`: Adds a popover info message to the end of the author list that can potentially be used to clarify superscripts. HTML is allowed.
141142
- `arxiv`: Adds a link to the Arxiv website (Note: only add the arxiv identifier here - the link is generated automatically)
142143
- `bibtex_show`: Adds a "Bib" button that expands a hidden text field with the full bibliography entry
143144
- `blog`: Adds a "Blog" button redirecting to the specified link
@@ -159,3 +160,9 @@ A variety of beautiful theme colors have been selected for you to choose from. T
159160
## Adding social media information
160161

161162
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.
163+
164+
## Adding a newsletter
165+
166+
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.
167+
168+
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.

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ group :jekyll_plugins do
1212
gem 'jekyll-minifier'
1313
gem 'jekyll-paginate-v2'
1414
gem 'jekyll-polyglot'
15+
gem 'jekyll-regex-replace'
1516
gem 'jekyll-scholar'
1617
gem 'jekyll-sitemap'
1718
gem 'jekyll-tabs'

Gemfile.lock

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ GEM
107107
jekyll (>= 3.0, < 5.0)
108108
jekyll-polyglot (1.8.0)
109109
jekyll (>= 4.0, >= 3.0)
110+
jekyll-regex-replace (1.1.0)
110111
jekyll-sass-converter (3.0.0)
111112
sass-embedded (~> 1.54)
112113
jekyll-scholar (7.1.3)
@@ -208,6 +209,7 @@ DEPENDENCIES
208209
jekyll-minifier
209210
jekyll-paginate-v2
210211
jekyll-polyglot
212+
jekyll-regex-replace
211213
jekyll-scholar
212214
jekyll-sitemap
213215
jekyll-tabs

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ Feel free to add your own page(s) by sending a PR.
143143
<a href="https://jackjburnett.github.io/" target="_blank">★</a>
144144
<a href="https://physics-morris.github.io/" target="_blank">★</a>
145145
<a href="https://sraf.ir" target="_blank">★</a>
146+
<a href="https://acad.garywei.dev/" target="_blank">★</a>
146147
</td>
147148
</tr>
148149
<tr>

_bibliography/papers.bib

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ @article{einstein1950meaning
3636
@article{PhysRev.47.777,
3737
abbr={PhysRev},
3838
title={Can Quantum-Mechanical Description of Physical Reality Be Considered Complete?},
39-
author={Einstein, A. and Podolsky, B. and Rosen, N.},
39+
author={Einstein*†, A. and Podolsky*, B. and Rosen*, N.},
4040
abstract={In a complete theory there is an element corresponding to each element of reality. A sufficient condition for the reality of a physical quantity is the possibility of predicting it with certainty, without disturbing the system. In quantum mechanics in the case of two physical quantities described by non-commuting operators, the knowledge of one precludes the knowledge of the other. Then either (1) the description of reality given by the wave function in quantum mechanics is not complete or (2) these two quantities cannot have simultaneous reality. Consideration of the problem of making predictions concerning a system on the basis of measurements made on another system that had previously interacted with it leads to the result that if (1) is false then (2) is also false. One is thus led to conclude that the description of reality as given by a wave function is not complete.},
4141
journal={Phys. Rev.},
4242
location={New Jersey},
@@ -56,6 +56,7 @@ @article{PhysRev.47.777
5656
google_scholar_id={qyhmnyLat1gC},
5757
video={https://www.youtube-nocookie.com/embed/aqz-KE-bpKQ},
5858
additional_info={. *More Information* can be [found here](https://github.com/alshedivat/al-folio/)},
59+
annotation={* Example use of superscripts<br>† Albert Einstein},
5960
selected={true}
6061
}
6162

_config.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ related_blog_posts:
136136
# Giscus comments (RECOMMENDED)
137137
# Follow instructions on https://giscus.app/ to setup for your repo to fill out the information below.
138138
giscus:
139-
repo: george-gca/multi-language-al-folio # <your-github-user-name>/<your-github-repo-name>
139+
repo: # <your-github-user-name>/<your-github-repo-name>
140140
repo_id: R_kgDOI6hBvA # leave empty or specify your repo_id (see https://giscus.app/)
141141
category: Comments # name of the category under which discussions will be created
142142
category_id: DIC_kwDOI6hBvM4CYHn3 # leave empty or specify your category_id (see https://giscus.app/)
@@ -162,6 +162,15 @@ external_sources:
162162
- url: https://blog.google/technology/ai/google-gemini-update-flash-ai-assistant-io-2024/
163163
published_date: 2024-05-14
164164

165+
# -----------------------------------------------------------------------------
166+
# Newsletter
167+
# -----------------------------------------------------------------------------
168+
169+
newsletter:
170+
enabled: false
171+
endpoint: # your loops endpoint (e.g., https://app.loops.so/api/newsletter-form/YOUR-ENDPOINT)
172+
# https://loops.so/docs/forms/custom-form
173+
165174
# -----------------------------------------------------------------------------
166175
# Collections
167176
# -----------------------------------------------------------------------------
@@ -243,6 +252,7 @@ plugins:
243252
- jekyll-minifier
244253
- jekyll-paginate-v2
245254
- jekyll-polyglot
255+
- jekyll-regex-replace
246256
- jekyll/scholar
247257
- jekyll-sitemap
248258
- jekyll-tabs
@@ -330,6 +340,7 @@ filtered_bibtex_keywords:
330340
abstract,
331341
additional_info,
332342
altmetric,
343+
annotation,
333344
arxiv,
334345
award,
335346
award_name,

0 commit comments

Comments
 (0)