Skip to content

Commit

Permalink
formatting updates
Browse files Browse the repository at this point in the history
  • Loading branch information
wangmagg committed May 15, 2024
1 parent a2e002e commit 3cce926
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
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: year
group_order: descending
# query: "@*"
# group_by: year
# group_order: descending

# Display different badges withs stats for your publications
enable_publication_badges:
Expand Down
7 changes: 3 additions & 4 deletions _layouts/bib.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,11 @@
<!-- Entry bib key -->
<div id="{{entry.key}}" class="{% if site.enable_publication_thumbnails %}col-sm-8{% else %}col-sm-10{% endif %}">
<!-- Title -->
<a href="{{ entry.url }}" class="title">{{entry.title}}</a>
<!-- {%- if entry.type = "article" -%}
{%- if entry.type = "journal article" -%}
<a href="{{ entry.url }}" class="title">{{entry.title}}</a>
{%- else -%}
<a class="title">{{entry.title}}</a>
{%- endif -%} -->
{%- endif -%}
<!-- Author -->
<div class="author">
{% assign author_array_size = entry.author_array | size %}
Expand Down Expand Up @@ -118,7 +117,7 @@
<!-- Journal/Book title and date -->
{% assign proceedings = "inproceedings,incollection" | split: ','%}
{% assign thesis = "thesis,mastersthesis,phdthesis" | split: ','%}
{% if entry.type == "article" -%}
{% if entry.type == "journal article" -%}
{%- capture entrytype -%}<em>{{entry.journal}}</em>{%- endcapture -%}
{%- elsif proceedings contains entry.type -%}
{%- capture entrytype -%}<em>{{entry.booktitle}}</em> {%- endcapture -%}
Expand Down
2 changes: 1 addition & 1 deletion _pages/publications.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: page
permalink: /research/
title: research
title:
description:
nav: true
nav_order: 2
Expand Down
2 changes: 1 addition & 1 deletion _pages/teaching.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: page
permalink: /teaching/
title: teaching
title:
description:
nav: true
nav_order: 3
Expand Down

0 comments on commit 3cce926

Please sign in to comment.