Skip to content

Commit 2cb89b8

Browse files
Add Gram Newton-Schulz Blog
Add Gram Newton-Schulz Blog
2 parents 41cc68b + 29ed34e commit 2cb89b8

45 files changed

Lines changed: 1088 additions & 3823 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/agents/customize.agent.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,13 +412,15 @@ Always guide users to test changes locally before pushing to GitHub:
412412
3. **Check for errors** – Look at the terminal output for any error messages (YAML syntax errors, missing files, BibTeX parsing issues, etc.).
413413

414414
4. **Verify visually** – Manually navigate through your site:
415+
415416
- Check that pages load without errors
416417
- Verify text displays correctly
417418
- Ensure images are visible
418419
- Test navigation links
419420
- Check that your changes appear as expected
420421

421422
5. **Test on different pages** – If you modified:
423+
422424
- `_config.yml` – Check the entire site (affects global settings)
423425
- Blog posts – Check the blog page and individual post
424426
- Publications – Check the publications page
@@ -502,6 +504,7 @@ Help users avoid these frequent errors:
502504
## Boundaries
503505

504506
- ✅ **Always do:**
507+
505508
- Modify configuration files (`_config.yml`, `_data/*.yml`)
506509
- Create/edit content files (posts, pages, projects, news)
507510
- Update BibTeX bibliography
@@ -511,6 +514,7 @@ Help users avoid these frequent errors:
511514
- Reference official documentation when helpful
512515

513516
- ⚠️ **Ask first:**
517+
514518
- Major structural changes to the template
515519
- Removing core functionality or pages
516520
- Modifying GitHub Actions workflows
@@ -566,17 +570,21 @@ Help users avoid these frequent errors:
566570
When users reference issues or discussions:
567571

568572
1. **Accept information without requiring links** – Don't demand that users track down and share issue/discussion URLs
573+
569574
- ❌ Avoid: "Please provide the link to the discussion so I can help you."
570575
- ✅ Do this: "Let me help based on what you've described. If you remember any details from the discussion, that would be helpful."
571576

572577
2. **Verify information against current code** – Assume advice from older discussions might be outdated
578+
573579
- Example: "You mentioned a solution from an older discussion. Let me check if that still applies with the current version..."
574580
- Be prepared to offer updated guidance if the codebase has changed
575581

576582
3. **Acknowledge patterns while providing current guidance** – Show you understand the context but prioritize current best practices
583+
577584
- Example: "I see why that approach was suggested before. With our current code, here's the recommended way to do this..."
578585

579586
4. **Mention when discussions are particularly relevant** – If a recent discussion is very relevant, you can mention it
587+
580588
- Example: "This is similar to what was discussed in #67 (from December 2024), which is still the best approach."
581589

582590
5. **Suggest sharing solutions** – If a user's question or your solution would help the community, encourage them to update or create discussions

.github/agents/docs.agent.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ to process your files located in `_layouts/` and `_includes/`.
190190
## Boundaries
191191

192192
-**Always do:**
193+
193194
- Update documentation files (`*.md` in root directory)
194195
- Keep documentation in sync with actual code and configuration
195196
- Use existing documentation style and structure (or improve it with patterns from this agent)
@@ -199,6 +200,7 @@ to process your files located in `_layouts/` and `_includes/`.
199200
- Preserve existing table of contents markers (`<!--ts-->` and `<!--te-->`
200201

201202
- ⚠️ **Ask first:**
203+
202204
- Major restructuring of documentation organization
203205
- Adding entirely new documentation files
204206
- Changing the documentation format or style guide

ANALYTICS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,21 +45,25 @@ Google Analytics is free and widely used. It provides detailed insights into vis
4545
### Setup Steps
4646

4747
1. **Create a Google Analytics account:**
48+
4849
- Visit [Google Analytics](https://analytics.google.com)
4950
- Sign in with your Google account
5051
- Click **Start measuring****Create account**
5152

5253
2. **Create a property for your website:**
54+
5355
- Enter your website name and URL
5456
- Accept terms and continue
5557
- Choose your timezone and currency
5658

5759
3. **Get your Measurement ID:**
60+
5861
- In the left sidebar, go to **Admin****Properties**
5962
- Click **Data Streams****Web** (or your existing stream)
6063
- Copy the **Measurement ID** (format: `G-XXXXXXXXXX`)
6164

6265
4. **Enable in your site:**
66+
6367
- Open `_config.yml` in your repository
6468
- Set `enable_google_analytics: true`
6569
- Add your Measurement ID: `google_analytics: G-XXXXXXXXXX`

CUSTOMIZE.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Here we will give you some tips on how to customize the website. One important t
6262
- [How it works](#how-it-works)
6363
- [Configuration](#configuration-1)
6464
- [Disable related posts for a specific post](#disable-related-posts-for-a-specific-post)
65-
- [Additional configuration in _config.yml](#additional-configuration-in-_configyml)
65+
- [Additional configuration in \_config.yml](#additional-configuration-in-_configyml)
6666
- [Managing publication display](#managing-publication-display)
6767
- [Adding a Google Calendar](#adding-a-google-calendar)
6868
- [Basic usage](#basic-usage)
@@ -272,13 +272,15 @@ Understanding al-folio's technology stack will help you better customize and ext
272272
### Backend
273273

274274
- **Jekyll 4.x**: [Jekyll](https://jekyllrb.com/) is a static site generator written in Ruby that transforms your Markdown files and templates into a static website. Jekyll is used to:
275+
275276
- Convert Markdown files to HTML
276277
- Process Liquid templates
277278
- Manage collections (posts, projects, news, books, etc.)
278279
- Generate archives and pagination
279280
- Minify CSS and JavaScript
280281

281282
- **Ruby Gems** (Jekyll plugins): The project uses several Ruby plugins to extend Jekyll's functionality:
283+
282284
- `classifier-reborn`: Used for categorizing and finding related blog posts
283285
- `jekyll-archives-v2`: Creates archive pages for posts and collections organized by category, tag, or date
284286
- `jekyll-feed`: Generates an Atom (RSS-like) feed for your content
@@ -296,6 +298,7 @@ Understanding al-folio's technology stack will help you better customize and ext
296298
### Build and Deployment
297299

298300
- **GitHub Actions**: Automated workflows for building, testing, and deploying your site. Workflows are defined in `.github/workflows/`:
301+
299302
- **Deploy**: Automatically builds and deploys your site to GitHub Pages when you push changes to the main branch
300303
- **Link checking**: Validates that all links in your site are not broken
301304
- **Code formatting**: Ensures code follows the Prettier code style
@@ -670,6 +673,7 @@ Custom fields (any field name you create) remain as **strings** and require expl
670673
```
671674

672675
Your archive pages will be generated at:
676+
673677
- `/books/adaptations/movie/`
674678
- `/books/adaptations/tv-series/` (slugified from `TV-series`)
675679
- `/books/adaptations/video-game/` (slugified from `video-game`)
@@ -1080,6 +1084,7 @@ To update a library:
10801084

10811085
1. Change the `version` number
10821086
2. Obtain the new integrity hash for the updated library version and update the `integrity` field with the new hash. You can:
1087+
10831088
- Check if the CDN provider (e.g., jsDelivr, cdnjs, unpkg) provides the SRI hash for the file. Many CDN sites display the SRI hash alongside the file URL.
10841089
- Generate the SRI hash yourself using a tool such as [SRI Hash Generator](https://www.srihash.org/) or by running the following command in your terminal:
10851090

@@ -1089,6 +1094,7 @@ To update a library:
10891094

10901095
Replace `[FILE_URL]` with the URL of the library file. Then, prefix the result with `sha384-` and use it in the `integrity` field.
10911096
For detailed instructions on updating specific libraries, see the FAQ:
1097+
10921098
- [How can I update Academicons version](FAQ.md#how-can-i-update-academicons-version-on-the-template)
10931099
- [How can I update Font Awesome version](FAQ.md#how-can-i-update-font-awesome-version-on-the-template)
10941100

@@ -1386,13 +1392,15 @@ GitHub restricts the default `GITHUB_TOKEN` from triggering other workflows when
13861392
### How to set up the PAT
13871393

13881394
1. **Create a Personal Access Token**
1395+
13891396
- Go to [GitHub Settings > Developer settings > Personal access tokens](https://github.com/settings/tokens).
13901397
- Click "Generate new token" (classic or fine-grained).
13911398
- Grant at least the following permissions:
13921399
- `repo` (for classic tokens if repo is private), `public_repo` (for classic tokens if repo is public) or `contents: read/write` (for fine-grained tokens)
13931400
- Save the token somewhere safe.
13941401

13951402
2. **Add the PAT as a repository secret**
1403+
13961404
- Go to your repository on GitHub.
13971405
- Navigate to `Settings` > `Secrets and variables` > `Actions` > `New repository secret`.
13981406
- Name the secret `PAT` (must match the name used in the workflow).

INSTALL.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,12 +190,14 @@ If you need to manually re-deploy your website to GitHub pages, go to Actions, c
190190
1. [Use this template -> Create a new repository](https://github.com/new?template_name=al-folio&template_owner=alshedivat).
191191
2. Netlify: **Add new site** -> **Import an existing project** -> **GitHub** and give Netlify access to the repository you just created.
192192
3. Netlify: In the deploy settings
193+
193194
- Set **Branch to deploy** to `main`
194195
- **Base directory** is empty
195196
- Set **Build command** to `sed -i "s/^\(baseurl: \).*$/baseurl:/" _config.yml && bundle exec jekyll build`
196197
- Set **Publish directory** to `_site`
197198

198199
4. Netlify: Add the following two **environment variables**
200+
199201
- | Key | Value |
200202
| -------------- | -------------------------------------------------------------------------------------- |
201203
| `JEKYLL_ENV` | `production` |

SEO.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ Open Graph is disabled by default. To enable:
119119
```
120120

121121
2. **Create your OG image:**
122+
122123
- Size: 1200x630 pixels
123124
- Format: PNG or JPG
124125
- Content: Your name/logo + key info
@@ -285,6 +286,7 @@ Similar to Google Search Console but for Bing search:
285286
```
286287

287288
3. **Submit to Google Scholar (optional):**
289+
288290
- Go to [Google Scholar Author Profile](https://scholar.google.com/citations)
289291
- Create a profile
290292
- Google will find your papers automatically within weeks

TROUBLESHOOTING.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ bundle exec jekyll serve --port 5000
166166
```
167167
168168
3. **Clear browser cache:**
169+
169170
- Chrome: `Ctrl+Shift+R` (Windows/Linux) or `Cmd+Shift+R` (Mac)
170171
- Firefox: `Ctrl+F5` (Windows/Linux) or `Cmd+R` (Mac)
171172
- Or open a private/incognito window
@@ -270,6 +271,7 @@ docker compose run --rm web jekyll build 2>&1 | grep -i bibtex
270271
```
271272

272273
2. **Check the file exists:**
274+
273275
- Personal images: `assets/img/`
274276
- Paper PDFs: `assets/pdf/`
275277
- Use lowercase filenames, no spaces
@@ -428,16 +430,19 @@ nav:
428430
If you're stuck:
429431
430432
1. **Check existing documentation:**
433+
431434
- [QUICKSTART.md](QUICKSTART.md) – Get started in 5 minutes
432435
- [INSTALL.md](INSTALL.md) – Installation and deployment
433436
- [CUSTOMIZE.md](CUSTOMIZE.md) – Full customization guide
434437
- [FAQ.md](FAQ.md) – Frequently asked questions
435438
436439
2. **Search for your issue:**
440+
437441
- [GitHub Discussions](https://github.com/alshedivat/al-folio/discussions) – Q&A from community
438442
- [GitHub Issues](https://github.com/alshedivat/al-folio/issues) – Bug reports and feature requests
439443
440444
3. **Get help from AI:**
445+
441446
- Use the **GitHub Copilot Customization Agent** (requires Copilot subscription) to get step-by-step help
442447
- See [CUSTOMIZE.md § GitHub Copilot Customization Agent](CUSTOMIZE.md#github-copilot-customization-agent)
443448

_config.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ bing_site_verification: # out your bing-site-verification ID (Bing Webmaster)
8585
# Blog
8686
# -----------------------------------------------------------------------------
8787

88-
blog_name: al-folio # blog_name will be displayed in your blog page
89-
blog_description: a simple whitespace theme for academics
88+
blog_name: Blog # blog_name will be displayed in your blog page
89+
blog_description:
9090
permalink: /blog/:year/:title/
9191
lsi: false # produce an index for related posts
9292

@@ -123,16 +123,6 @@ disqus_shortname: al-folio # put your disqus shortname
123123
# you can display them in your blog by adding a link to the RSS feed.
124124
# Optional: Set default categories and tags for posts from each source.
125125
external_sources:
126-
- name: medium.com
127-
rss_url: https://medium.com/@al-folio/feed
128-
categories: [external-posts]
129-
tags: [medium]
130-
- name: Google Blog
131-
posts:
132-
- url: https://blog.google/technology/ai/google-gemini-update-flash-ai-assistant-io-2024/
133-
published_date: 2024-05-14
134-
categories: [external-posts]
135-
tags: [google]
136126

137127
# -----------------------------------------------------------------------------
138128
# Newsletter
@@ -265,8 +255,8 @@ jekyll-archives:
265255
books:
266256
enabled: [year, tags, categories] # enables year, tag and category archives (remove if you need to disable one of them).
267257

268-
display_tags: ["formatting", "images", "links", "math", "code", "blockquotes"] # these tags will be displayed on the front page of your blog
269-
display_categories: ["external-services"] # these categories will be displayed on the front page of your blog
258+
display_tags: [] # these tags will be displayed on the front page of your blog
259+
display_categories: [] # these categories will be displayed on the front page of your blog
270260

271261
# -----------------------------------------------------------------------------
272262
# Jekyll Scholar

_pages/blog.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
layout: default
33
permalink: /blog/
44
title: blog
5-
nav: false
6-
nav_order: 1
5+
nav: true
6+
nav_order: 2
77
pagination:
88
enabled: true
99
collection: posts
@@ -73,7 +73,7 @@ pagination:
7373
<div class="float-right">
7474
<i class="fa-solid fa-thumbtack fa-xs"></i>
7575
</div>
76-
<h3 class="card-title text-lowercase">{{ post.title }}</h3>
76+
<h3 class="card-title">{{ post.title }}</h3>
7777
<p class="card-text">{{ post.description }}</p>
7878

7979
{% if post.external_source == blank %}

_pages/profiles.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ permalink: /
44
title: people
55
description: meet the team
66
nav: false
7-
nav_order: 7
7+
nav_order: 1
88

99
profiles:
1010
- role: faculty
@@ -35,15 +35,15 @@ profiles:
3535
image: selfie.jpeg
3636
name: Wentao Guo
3737
website: https://wentaoguo.me
38-
38+
3939
- role: phd-student
4040
image: xinle.png
4141
name: Xinle Cheng
4242
website: https://ada-cheng.github.io/
4343

4444
- role: phd-student
4545
image: IMG_9228.jpg
46-
name: Lijie(Derrick) Yang
46+
name: Lijie(Derrick) Yang
4747
website: https://derrickylj.github.io/
4848

4949
- role: phd-student
@@ -57,8 +57,8 @@ profiles:
5757

5858
- role: phd-student
5959
image: ZhuoqingSong.jpg
60-
name: Zhuoqing Song
61-
60+
name: Zhuoqing Song
61+
6262
- role: phd-student
6363
image: Mayank.jpg
6464
name: Mayank Mishra
@@ -89,5 +89,4 @@ profiles:
8989
linkedin: https://abiralshakya.github.io
9090
---
9191

92-
9392
We are a research group at [Princeton University](https://www.princeton.edu/) led by professor Tri Dao.

0 commit comments

Comments
 (0)