Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/academicpages/academicpages.github.io/llms.txt

Use this file to discover all available pages before exploring further.

Every content file in Academic Pages begins with a YAML front matter block — a section delimited by triple dashes (---) at the very top of the file. Jekyll reads this block before rendering the page and uses the values to control layout, URL, metadata, and which features are enabled. Fields you omit are either ignored or inherited from the defaults: section of _config.yml, which means most files only need a handful of explicit fields.

What front matter looks like

---
title: "My Page Title"
layout: single
permalink: /my-page/
author_profile: true
---
Everything between the two --- lines is parsed as YAML. The rest of the file is the page body, processed as Markdown (for .md files) or HTML (for .html files).

Common fields shared by all content types

These fields are meaningful on any page or collection item:
Type: string — The page heading displayed at the top of the page and in browser tabs. Also used in list views and social sharing previews.
title: "Paper Title Number 1"
Type: string — Selects the HTML layout template. Most content uses single. Talks use talk. The defaults: block in _config.yml sets this automatically per collection, so you rarely need to set it manually.
layout: single
Type: boolean — When true, the sidebar with your photo and bio is shown on this page. Set to false to display a full-width content area.
author_profile: true
Type: string — A short summary shown in list views and used as the meta description for social sharing. Supports basic HTML for inline formatting.
excerpt: 'This paper is about the number 1. The number 2 is left for future work.'

Posts (_posts/)

Blog post files are named YYYY-MM-DD-slug.md. In addition to the common fields, posts support:
---
title: 'Blog Post number 1'
date: 2012-08-14
permalink: /posts/2012/08/blog-post-1/
tags:
  - cool posts
  - category1
  - category2
read_time: true
comments: true
share: true
related: true
---
FieldTypePurpose
datedatePublication date in YYYY-MM-DD format. Controls sort order in archives.
tagslistTag labels; generates tag archive pages at /tags/.
categorieslistCategory labels; generates category archive pages at /categories/.
read_timebooleanShows an estimated reading time at the top of the post.
commentsbooleanEnables the comments section (requires a comments provider configured in _config.yml).
sharebooleanShows social sharing buttons at the bottom of the post.
relatedbooleanShows a “Related Posts” section at the bottom of the post.
The date field in posts is also encoded in the filename. If the filename date and the front matter date disagree, the front matter value takes precedence.

Publications (_publications/)

Each publication file represents one paper, book, or conference entry. The collection and category fields are required for the publications list page to group entries correctly.
---
title: "Paper Title Number 1"
collection: publications
category: manuscripts
permalink: /publication/2009-10-01-paper-title-number-1
excerpt: 'This paper is about the number 1. The number 2 is left for future work.'
date: 2009-10-01
venue: 'Journal 1'
slidesurl: 'https://academicpages.github.io/files/slides1.pdf'
paperurl: 'https://academicpages.github.io/files/paper1.pdf'
bibtexurl: 'https://academicpages.github.io/files/bibtex1.bib'
citation: 'Your Name, You. (2009). &quot;Paper Title Number 1.&quot; <i>Journal 1</i>. 1(1).'
---
FieldTypePurpose
collectionstringMust be publications to include this file in the publications collection.
categorystringGroups entries under a heading on the publications list. Valid values are defined in _config.yml under publication_category: — by default books, manuscripts, and conferences.
venuestringJournal name, conference name, or publisher. Shown in list views and on the detail page.
slidesurlURL stringLink to a slides PDF or presentation. Rendered as a button on the publication page.
paperurlURL stringLink to the paper PDF. Rendered as a button on the publication page.
bibtexurlURL stringLink to a .bib BibTeX file. Rendered as a button on the publication page.
citationstringFull citation text. Rendered in a smaller font beneath the page body. Supports HTML entities and <i> tags for journal name italics.
The publication_category keys (books, manuscripts, conferences) are defined in _config.yml. You can add custom categories there to create additional groupings on the publications list page.
If you use MathJax inside the citation field, use \(...\) delimiters for inline math rather than $$...$$. The YAML parser and Markdown renderer can interfere with double-dollar signs in front matter strings.

Talks (_talks/)

---
title: "Talk 1 on Relevant Topic in Your Field"
collection: talks
type: "Talk"
permalink: /talks/2012-03-01-talk-1
venue: "UC San Francisco, Department of Testing"
date: 2012-03-01
location: "San Francisco, CA, USA"
---
FieldTypePurpose
collectionstringMust be talks.
typestringFree-text label such as "Talk", "Tutorial", or "Keynote". Shown in list views.
venuestringInstitution and department or conference name where the talk was given.
locationstringCity and country of the event.
datedateDate of the talk in YYYY-MM-DD format. Controls sort order.

Teaching (_teaching/)

---
title: "Teaching experience 1"
collection: teaching
type: "Undergraduate course"
permalink: /teaching/2014-spring-teaching-1
venue: "University 1, Department"
date: 2014-01-01
location: "City, Country"
---
FieldTypePurpose
collectionstringMust be teaching.
typestringCourse level or format, e.g. "Undergraduate course" or "Workshop".
venuestringInstitution and department where the course was taught.
locationstringCity and country.
datedateStart date of the course; controls sort order.

Portfolio (_portfolio/)

---
title: "Portfolio item number 1"
excerpt: "Short description of portfolio item number 1<br/><img src='/images/500x300.png'>"
collection: portfolio
---
FieldTypePurpose
collectionstringMust be portfolio.
excerptstringShort description shown in the portfolio grid. Supports inline HTML, which allows embedding a thumbnail image.

Pages (_pages/)

Standalone pages live in _pages/ and support an additional field not available in collections:
---
permalink: /markdown/
title: "Markdown"
author_profile: true
redirect_from:
  - /md/
  - /markdown.html
---
FieldTypePurpose
redirect_fromlistA list of old URL paths that should redirect to this page’s permalink. Powered by the jekyll-redirect-from plugin.

How defaults work in _config.yml

Rather than repeating common fields in every file, Academic Pages uses Jekyll’s defaults: block to inject values automatically based on the content type. Here is the full defaults: section from _config.yml:
defaults:
  # _posts
  - scope:
      path: ""
      type: posts
    values:
      layout: single
      author_profile: true
      read_time: true
      comments: true
      share: true
      related: true
  # _pages
  - scope:
      path: ""
      type: pages
    values:
      layout: single
      author_profile: true
  # _teaching
  - scope:
      path: ""
      type: teaching
    values:
      layout: single
      author_profile: true
      share: true
      comments: true
  # _publications
  - scope:
      path: ""
      type: publications
    values:
      layout: single
      author_profile: true
      share: true
      comments: true
  # _portfolio
  - scope:
      path: ""
      type: portfolio
    values:
      layout: single
      author_profile: true
      share: true
      comment: true
  # _talks
  - scope:
      path: ""
      type: talks
    values:
      layout: talk
      author_profile: true
      share: true
Each scope block targets a content type by type name. The values block lists the front matter fields that will be injected if you have not set them yourself in the file. A value set explicitly in a file’s front matter always overrides the default.
You can add your own defaults to this block. For example, if you want all portfolio items to disable author_profile, add author_profile: false under the portfolio values: block in _config.yml rather than setting it in every file individually.

Quick reference by content type

---
title: "Paper Title"
collection: publications
category: manuscripts       # books | manuscripts | conferences
permalink: /publication/slug
excerpt: 'One-sentence summary.'
date: 2024-01-15
venue: 'Journal Name'
slidesurl: 'https://example.com/slides.pdf'
paperurl: 'https://example.com/paper.pdf'
bibtexurl: 'https://example.com/paper.bib'
citation: 'Author. (2024). &quot;Title.&quot; <i>Journal</i>. 1(1).'
---

Build docs developers (and LLMs) love