From e2c06d2681e18946ab6c3e3e6075aed92a4d13be Mon Sep 17 00:00:00 2001 From: Karl Hallsby Date: Sun, 3 Oct 2021 00:35:46 -0500 Subject: Change to al-folio theme Theme at: https://github.com/alshedivat/al-folio --- _pages/about.md | 24 +++++++++++++++++++++ _pages/dropdown.md | 12 +++++++++++ _pages/projects.md | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++ _pages/publications.md | 17 +++++++++++++++ _pages/teaching.md | 11 ++++++++++ 5 files changed, 121 insertions(+) create mode 100644 _pages/about.md create mode 100644 _pages/dropdown.md create mode 100644 _pages/projects.md create mode 100644 _pages/publications.md create mode 100644 _pages/teaching.md (limited to '_pages') diff --git a/_pages/about.md b/_pages/about.md new file mode 100644 index 0000000..3ea7593 --- /dev/null +++ b/_pages/about.md @@ -0,0 +1,24 @@ +--- +layout: about +title: about +permalink: / +description: Affiliations. Address. Contacts. Moto. Etc. + +profile: + align: right + image: prof_pic.jpg + address: > +

555 your office number

+

123 your address street

+

Your City, State 12345

+ +news: true # includes a list of news items +selected_papers: true # includes a list of papers marked as "selected={true}" +social: true # includes social icons at the bottom of the page +--- + +Write your biography here. Tell the world about yourself. Link to your favorite [subreddit](http://reddit.com){:target="\_blank"}. You can put a picture in, too. The code is already in, just name your picture `prof_pic.jpg` and put it in the `img/` folder. + +Put your address / P.O. box / other info right below your picture. You can also disable any these elements by editing `profile` property of the YAML header of your `_pages/about.md`. Edit `_bibliography/papers.bib` and Jekyll will render your [publications page](/al-folio/publications/) automatically. + +Link to your social media connections, too. This theme is set up to use [Font Awesome icons](http://fortawesome.github.io/Font-Awesome/){:target="\_blank"} and [Academicons](https://jpswalsh.github.io/academicons/){:target="\_blank"}, like the ones below. Add your Facebook, Twitter, LinkedIn, Google Scholar, or just disable all of them. diff --git a/_pages/dropdown.md b/_pages/dropdown.md new file mode 100644 index 0000000..578b372 --- /dev/null +++ b/_pages/dropdown.md @@ -0,0 +1,12 @@ +--- +layout: page +title: submenus +nav: true +dropdown: true +children: + - title: publications + permalink: /publications/ + - title: divider + - title: projects + permalink: /projects/ +--- \ No newline at end of file diff --git a/_pages/projects.md b/_pages/projects.md new file mode 100644 index 0000000..9308732 --- /dev/null +++ b/_pages/projects.md @@ -0,0 +1,57 @@ +--- +layout: page +title: projects +permalink: /projects/ +description: A growing collection of your cool projects. +nav: true +display_categories: [work, fun] +horizontal: false +--- +
+ {% if site.enable_project_categories and page.display_categories %} + + {% for category in page.display_categories %} +

{{category}}

+ {% assign categorized_projects = site.projects | where: "category", category %} + {% assign sorted_projects = categorized_projects | sort: "importance" %} + + {% if page.horizontal %} +
+
+ {% for project in sorted_projects %} + {% include projects_horizontal.html %} + {% endfor %} +
+
+ {% else %} +
+ {% for project in sorted_projects %} + {% include projects.html %} + {% endfor %} +
+ {% endif %} + {% endfor %} + + {% else %} + + {% assign sorted_projects = site.projects | sort: "importance" %} + + {% if page.horizontal %} +
+
+ {% for project in sorted_projects %} + {% include projects_horizontal.html %} + {% endfor %} +
+
+ {% else %} +
+ {% for project in sorted_projects %} + {% include projects.html %} + {% endfor %} +
+ {% endif %} + + {% endif %} + +
diff --git a/_pages/publications.md b/_pages/publications.md new file mode 100644 index 0000000..58634bd --- /dev/null +++ b/_pages/publications.md @@ -0,0 +1,17 @@ +--- +layout: page +permalink: /publications/ +title: publications +description: publications by categories in reversed chronological order. generated by jekyll-scholar. +years: [1956, 1950, 1935, 1905] +nav: true +--- + +
+ +{% for y in page.years %} +

{{y}}

+ {% bibliography -f papers -q @*[year={{y}}]* %} +{% endfor %} + +
diff --git a/_pages/teaching.md b/_pages/teaching.md new file mode 100644 index 0000000..ddcc59b --- /dev/null +++ b/_pages/teaching.md @@ -0,0 +1,11 @@ +--- +layout: page +permalink: /teaching/ +title: teaching +description: Materials for courses you taught. Replace this text with your description. +nav: true +--- + +For now, this page is assumed to be a static description of your courses. You can convert it to a collection similar to `_projects/` so that you can have a dedicated page for each course. + +Organize your courses by years, topics, or universities, however you like! -- cgit v1.2.3