pages/_config.yml
George Oikonomou 29e99ebc7b Enable preview images on social media (#66)
* Enable preview images on social media

This commit adds support for serving Open Graph meta tags inside the HTML head. When enabled, links to the page on social media will display a preview.

NB: twitter behaves somewhat differently and may require twitter card meta tags in addition to Open Graph.

https://ogp.me/

* Remove trailing whitespaces

* Support page-specific open graph social media previews

* Document open graph support in the readme

* Improve open graph support
2019-11-04 18:41:10 -05:00

132 lines
3.9 KiB
YAML

# -----------------------------------------------------------------------------
# Site settings
# -----------------------------------------------------------------------------
name: Your Name
email: you@example.com
description: > # this means to ignore newlines until "url:"
A simple, whitespace theme for academics. Based on [*folio](https://github.com/bogoli/-folio) design.
footer_text: >
Powered by <a href="http://jekyllrb.com/" target="_blank">Jekyll</a> with <a href="https://github.com/alshedivat/al-folio">al-folio</a> theme.
Hosted by <a href="https://pages.github.com/" target="_blank">GitHub Pages</a>.
Photos from <a href="https://unsplash.com" target="_blank">Unsplash</a>.
url: # the base hostname & protocol for your site
baseurl: /al-folio # the subpath of your site, e.g. /blog/
last_updated: # leave blank if you don't want to display last updated
# -----------------------------------------------------------------------------
# Open Graph
# -----------------------------------------------------------------------------
# Display links to the page with a preview object on social media.
# To achieve this, change serve_og_meta to true and then provide the URL of the
# preview image as the value of og_image.
serve_og_meta: false # Include Open Graph meta tags in the HTML head
og_image: # The site-wide (default for all links) Open Graph preview image
# -----------------------------------------------------------------------------
# Social integration
# -----------------------------------------------------------------------------
github_username: # your GitHub user name
twitter_username: # your Twitter handle
linkedin_username: # your LinkedIn user name
scholar_userid: # your Google Scholar ID
orcid_id: # your ORCID ID
medium_username: # your Medium username
quora_username: # your Quora username
publons_id: # your ID on Publons
research_gate_profile: # your profile on ResearchGate
blogger_url: # your blogger URL
contact_note: >
You can even add a little note about which of these is the best way to reach you.
google_analytics: UA-XXXXXXXXX # out your google-analytics code
# -----------------------------------------------------------------------------
# Blog
# -----------------------------------------------------------------------------
blog_name: al-folio
blog_description: a simple whitespace theme for academics
# Pagination
paginate: 4
permalink: /blog/:year/:title/
paginate_path: /blog/page:num/
text:
pagination:
newer: 'Newer'
older: 'Older'
# Comments
disqus_shortname: al-folio # put your disqus shortname
# Optional features
show_social_icons: false
enable_anchorjs: false
enable_katex: true
# -----------------------------------------------------------------------------
# Collections
# -----------------------------------------------------------------------------
collections:
news:
defaults:
layout: post
output: true
permalink: /news/:path/
projects:
output: true
permalink: /projects/:path/
news_limit: 5
# -----------------------------------------------------------------------------
# Jekyll settings
# -----------------------------------------------------------------------------
# Build settings
markdown: kramdown
highlighter: pygments
# Includes & excludes
include: ['_pages']
exclude: [vendor]
# Plug-ins
plugins:
- jekyll-email-protect
- jekyll-paginate
- jekyll/scholar
- jemoji
# Jekyll-Scholar
scholar:
last_name: Einstein
style: apa
locale: en
sort_by: year
order: descending
source: /_bibliography/
bibliography: papers.bib
bibliography_template: bib
replace_strings: true
join_strings: true
details_dir: bibliography
details_layout: bibtex.html
details_link: Details
query: "@*"
# -----------------------------------------------------------------------------
# Other settings
# -----------------------------------------------------------------------------
jquery_version: "1.12.4"
katex_version: "0.9.0"
anchorjs_version: "3.2.2"