diff --git a/README.md b/README.md index bdf0990..1ba9aab 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,68 @@ If you like the theme, give it a star! [![Preview](assets/img/al-folio-preview.png)](https://alshedivat.github.io/al-folio/) +## User community + +The vibrant community of **al-folio** users is growing! +Academics around the world use this theme for their homepages, blogs, lab pages, as well as webpages for courses, workshops, conferences, meetups, and more. +Check out the community webpages below. +Feel free to add your own page(s) by sending a PR. + + + + + + + + + + + + + + + + + + +
Academics + + + + + + + + + + + + + + + + + + + + + + + + +
Labs + + + + +
Courses +CMU PGM (S-19), +CMU DeepRL (F-19, S-20, F-20) +
Conferences & workshops +ML Retrospectives (NeurIPS: 2019, 2020; ICML: 2020) +
+ + ## Getting started For more about how to use Jekyll, check out [this tutorial](https://www.taniarascia.com/make-a-static-website-with-jekyll/). @@ -152,67 +214,6 @@ If you would like to improve documentation, add your webpage to the list below, For more complex issues/bugs or feature requests, please open an issue using the appropriate template. -## Users of al-folio - -The community of **al-folio** users is growing! -Academics around the world use this theme for their homepages, blogs, lab pages, as well as webpages for courses, workshops, conferences, meetups, and more. -Check out the community webpages below. -Feel free to add your own page(s) by sending a PR. - - - - - - - - - - - - - - - - - - -
Academics - - - - - - - - - - - - - - - - - - - - - - - - -
Labs - - - - -
Courses -CMU PGM 2019 -
Conferences & workshops -ML Retrospectives (NeurIPS 2019, ICML 2020) -
- - ## FAQ Here are some frequently asked questions. diff --git a/_bibliography/papers.bib b/_bibliography/papers.bib index ed58c50..78f8181 100644 --- a/_bibliography/papers.bib +++ b/_bibliography/papers.bib @@ -38,7 +38,8 @@ doi={10.1103/PhysRev.47.777}, url={http://link.aps.org/doi/10.1103/PhysRev.47.777}, html={https://journals.aps.org/pr/abstract/10.1103/PhysRev.47.777}, - pdf={example_pdf.pdf} + pdf={example_pdf.pdf}, + selected={true} } @article{einstein1905molekularkinetischen, diff --git a/_config.yml b/_config.yml index 2049314..5826668 100644 --- a/_config.yml +++ b/_config.yml @@ -7,7 +7,7 @@ first_name: You middle_name: R. last_name: (Long Last) Name email: you@example.com -description: > # this means to ignore newlines until "url:" +description: > # the ">" symbol means to ignore newlines until "footer_text:" A simple, whitespace theme for academics. Based on [*folio](https://github.com/bogoli/-folio) design. footer_text: > Powered by Jekyll with al-folio theme. diff --git a/_includes/selected_papers.html b/_includes/selected_papers.html new file mode 100644 index 0000000..0093c87 --- /dev/null +++ b/_includes/selected_papers.html @@ -0,0 +1,4 @@ +
+

selected publications

+ {% bibliography -f papers -q @*[selected=true]* %} +
diff --git a/_layouts/about.html b/_layouts/about.html index 47a02e1..3894ed2 100644 --- a/_layouts/about.html +++ b/_layouts/about.html @@ -11,28 +11,31 @@ layout: default
-
-
- {{ content }} -
- {% if page.profile %} -
- {% if page.profile.image %} - - {% endif %} - {% if page.profile.address %} -
- {{ page.profile.address }} -
- {% endif %} + {% if page.profile %} +
+ {% if page.profile.image %} + + {% endif %} + {% if page.profile.address %} +
+ {{ page.profile.address }}
- {% endif %} + {% endif %} +
+ {% endif %} + +
+ {{ content }}
{% if page.news %} {% include news.html %} {% endif %} + {% if page.selected_papers %} + {% include selected_papers.html %} + {% endif %} + {% if page.social %}
diff --git a/_pages/about.md b/_pages/about.md index c36dd69..3ea7593 100644 --- a/_pages/about.md +++ b/_pages/about.md @@ -12,8 +12,9 @@ profile:

123 your address street

Your City, State 12345

-news: true -social: true +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. diff --git a/_sass/_base.scss b/_sass/_base.scss index 1a601cd..bfdfe82 100644 --- a/_sass/_base.scss +++ b/_sass/_base.scss @@ -35,13 +35,40 @@ a, table.table a { // Profile .profile { - .address { - font-family: monospace; - font-size: 1.2rem; - p { - margin: 0; - } + margin-left: 1rem; + width: 100%; + + .address { + margin-bottom: 5px; + margin-top: 5px; + font-family: monospace; + font-size: 1.2rem; + p { + display: inline-block; + margin: 0; } + } +} + +@media (min-width: 576px) { + .profile { + width: 30%; + .address { + p { display: block; } + } + } +} + +.post-description { + margin-bottom: 2rem; + a { + color: inherit; + font-size: 0.875rem; + &:hover { + color: $theme-color; + text-decoration: none; + } + } } @@ -251,6 +278,19 @@ footer.sticky-bottom { .publications { margin-top: 2rem; + h1 { + color: $theme-color; + font-size: 2rem; + text-align: center; + margin-top: 1em; + margin-bottom: 1em; + } + h2 { + margin-bottom: 1rem; + span { + font-size: 1.5rem; + } + } h2.year { color: $grey-color-light; border-top: 1px solid $grey-color-light; @@ -274,10 +314,17 @@ footer.sticky-bottom { background-color: $theme-color; padding-left: 1rem; padding-right: 1rem; + a { + color: white; + &:hover { + text-decoration: none; + } + } + } + .award { + color: $theme-color !important; + border: 1px solid $theme-color; } - } - span { - display: block; } .title { font-weight: bolder; @@ -295,13 +342,19 @@ footer.sticky-bottom { font-style: normal; } } - em.star { - border-bottom: none; - color: $theme-color; - font-style: normal; - } - a.abstract, a.bibtex { - cursor: pointer; + .links { + a.btn { + color: $text-color; + border: 1px solid $text-color; + padding-left: 1rem; + padding-right: 1rem; + padding-top: 0.25rem; + padding-bottom: 0.25rem; + &:hover { + color: $theme-color; + border-color: $theme-color; + } + } } .hidden { font-size: 0.875rem; @@ -332,10 +385,10 @@ footer.sticky-bottom { -o-transition: 0.15s ease; transition: all 0.15s ease; } - span.abstract.hidden { + div.abstract.hidden { border: dashed 1px white; } - span.abstract.hidden.open { + div.abstract.hidden.open { border-color: $grey-color; } }