/website

Primary LanguageHTMLMIT LicenseMIT

Website

Source Code for https://raghavkansal.com.

Customizations for future reference

SafeHTML for author block

To render page breaks and italics, had to:

  1. Copy the source about.biography.html file to layouts/partials/blocks/about.biography.html
  2. Modify this line, changing {{ .institution }} --> {{ .institution | SafeHTML }}

Downloading the source file locally overwrites the source. Changing the line allows it to use HTML commands (by default, it escapes them.)

SCSS

See changes in assets/scss/custom.scss

Layouts

Event / Talk Page

Added location link here.

Project Page

  • Removed footer
  • Added functionality to show only featured papers or talks here but didn't end up using it

Page Links (buttons)

Added arXiv button here.

Views

Bunch of custom views, including:

  • "Card" backgrounds with different opacities e.g. here
  • Adding URLs for locations and events
  • Modifying metadata format e.g. here
  • Remove time from dates e.g. here