Skip to content

Commit

Permalink
try categorizing refs
Browse files Browse the repository at this point in the history
  • Loading branch information
wangmagg committed May 15, 2024
1 parent b0072e4 commit d0cea9f
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 12 deletions.
12 changes: 6 additions & 6 deletions _bibliography/papers.bib
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
@article{pcbm:iclr23,
@inproceedings{pcbm:iclr23,
keywords = {J},
author = {Mert Yuksekgonul and Maggie Wang and James Zou},
title = {Post-hoc Concept Bottleneck Models},
journal = {ICLR},
type = {article},
booktitle = {ICLR},
type = {conference paper},
year = {2023},
url = {https://arxiv.org/abs/2205.15480}
}
Expand All @@ -14,7 +14,7 @@ @article{hunt:brain23
title = {Longitudinal Imaging Highlights Preferential Basal Ganglia Circuit Atrophy in Huntington’s Disease},
journal = {Brain Communications},
year = {2023},
type = {article},
type = {journal article},
doi = {10.1093/braincomms/fcad214},
url = {https://pubmed.ncbi.nlm.nih.gov/37744022/}
}
Expand All @@ -24,7 +24,7 @@ @article{kfre:jama22
title = {Underutilization of Nephrology Referral at High Kidney Failure Risk Levels},
journal = {JAMA Network Open},
year = {2022},
type = {article},
type = {conference paper},
doi = {10.1001/jamanetworkopen.2022.25797},
url = {https://jamanetwork.com/journals/jamanetworkopen/fullarticle/2795414}

Expand All @@ -35,6 +35,6 @@ @inproceedings{cbr:scsc23
author = {Maggie Wang and Michael Baoicchi},
title = {Designing Randomized Experiments for Behavioral Interventions Under Interference and Context-Dependence},
booktitle = {Stanford Causal Science Conference},
type = {talk},
type = {contributed talk},
year = {2023}
}
6 changes: 3 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,9 @@ scholar:
details_layout: bibtex.html
details_link: Details

query: "@*"
group_by: type
group_order: [article, inproceedings]
# query: "@*"
# group_by: year
# group_order: descending

# Display different badges withs stats for your publications
enable_publication_badges:
Expand Down
19 changes: 16 additions & 3 deletions _pages/publications.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,23 @@ title: research
description:
nav: true
nav_order: 2
sections:
- type: "journal article"
text: "Journal articles"
- type: "conference paper"
text: "Conference papers"
- type: "contributed talk"
text: "Contributed talks"
---
<!-- _pages/publications.md -->
<div class="publications">

{% bibliography -f {{ site.scholar.bibliography }} %}
{%- for section in page.sections %}
<a id="{{section.text}}"></a>
<p class="bibtitle">{{section.text}}</p>
{% bibliography -f {{ site.scholar.bibliography }} %}[type={{section.type}}]

<!-- <div class="publications">
{%- for category in page.display_categories %}
<h2 class="category">{{ category }}</h2>
{% bibliography -f {{ site.scholar.bibliography }} %} -->

</div>
9 changes: 9 additions & 0 deletions _sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1071,3 +1071,12 @@ nav[data-toggle="toc"] {
#toc-sidebar {
z-index: 1;
}

// Bib type style
p.bibtitle {
color: var(--global-theme-color);
font-weight: 400;
font-size: 1.5em;
text-align: center;
border-bottom: 1px solid #bbb;
}

0 comments on commit d0cea9f

Please sign in to comment.