Skip to content

Commit f51cd0d

Browse files
committed
readding the bibliography
1 parent 5fc4098 commit f51cd0d

File tree

4 files changed

+22
-19
lines changed

4 files changed

+22
-19
lines changed

Gemfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
source 'https://rubygems.org'
22
group :jekyll_plugins do
3-
gem 'github-pages'
43
gem 'jekyll'
54
gem 'jekyll-paginate'
6-
# gem 'jekyll-scholar', '~> 7'
5+
gem 'jekyll-scholar', '~> 7.0'
76
gem 'jemoji'
87
gem 'unicode_utils'
98
gem 'jekyll-multiple-languages-plugin'

_config.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ navigation:
8282
# Includes
8383
include: ['_pages']
8484

85-
gems:
85+
plugins:
8686
- jekyll-paginate
87-
- jekyll/scholar
87+
- ['jekyll/scholar']
8888
- jemoji
8989

9090

@@ -93,26 +93,26 @@ markdown: kramdown
9393
highlighter: pygments
9494

9595
# Jekyll-Scholar
96-
#scholar:
96+
scholar:
9797

98-
# style: apa
99-
# locale: en
98+
style: apa
99+
locale: en
100100

101-
# sort_by: year
102-
# order: descending
101+
sort_by: year
102+
order: descending
103103

104-
# source: /_bibliography/
105-
# bibliography: pubs.bib
106-
# bibliography_template: bib
104+
source: /_bibliography/
105+
bibliography: papers.bib
106+
bibliography_template: bib
107107

108-
# replace_strings: true
109-
# join_strings: true
108+
replace_strings: true
109+
join_strings: true
110110

111-
# details_dir: bibliography
112-
# details_layout: bibtex.html
113-
# details_link: Details
111+
details_dir: bibliography
112+
details_layout: bibtex.html
113+
details_link: Details
114114

115-
# query: "@*"
115+
query: "@*"
116116

117117
jquery_version: "1.12.4"
118118
katex_version: "0.7.1"

_data/people.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,9 @@ ali-k:
170170
image: /img/people/ali-k.jpeg
171171
webpage: "https://alihkw.com/"
172172

173+
174+
175+
173176
mahtab:
174177
display_name: "Mahtab Sandhu"
175178
role: masters

_pages/publications.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@ years: [2023, 2022, 2021, 2020, 2019, 2018, 2017, 2016]
2020
<div class="card-body">
2121
<div class="h2 font-weight-bold text-primary mb-1">{{y}}</div>
2222
</div>
23-
</div>
23+
</div>
24+
{% bibliography -f papers -q @*[year={{y}}]* %}
2425
{% endfor %}

0 commit comments

Comments
 (0)