Skip to content

Commit e997908

Browse files
author
Animesh Garg
committed
prettier file formatting fixes
1 parent ef9006c commit e997908

File tree

4 files changed

+22
-14
lines changed

4 files changed

+22
-14
lines changed

CUSTOMIZE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Here we will give you some tips on how to customize the website. One important t
6262
- [How it works](#how-it-works)
6363
- [Configuration](#configuration-1)
6464
- [Disable related posts for a specific post](#disable-related-posts-for-a-specific-post)
65-
- [Additional configuration in _config.yml](#additional-configuration-in-_configyml)
65+
- [Additional configuration in \_config.yml](#additional-configuration-in-_configyml)
6666
- [Managing publication display](#managing-publication-display)
6767
- [Adding a Google Calendar](#adding-a-google-calendar)
6868
- [Basic usage](#basic-usage)

_layouts/about.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ layout: default
5555
</h2>
5656
{% include media.liquid limit=true %}
5757
{% endif %}
58-
58+
5959
<!-- Latest posts -->
6060
{% if page.latest_posts and page.latest_posts.enabled %}
6161
<h2>

_layouts/bib.liquid

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{% if site.enable_publication_thumbnails %}
55
<div class="col col-sm-2 abbr">
66
{%- if entry.abbr -%}
7-
<style>
7+
<style>
88
@media (max-width: 768px) {
99
{% if entry.abbr %}
1010
.abbr { display: none !important; }
@@ -62,7 +62,7 @@
6262
<!-- Entry bib key -->
6363
<div id="{{ entry.key }}" class="{% if site.enable_publication_thumbnails %}col-sm-9{% else %}col-sm-11{% endif %}">
6464
<!-- Title -->
65-
<div class="title">
65+
<div class="title">
6666
{% if entry.arxiv %}
6767
<a href="http://arxiv.org/abs/{{ entry.arxiv }}" target="_blank">{{ entry.title }}.</a>
6868
{% elsif entry.website %}
@@ -222,7 +222,7 @@
222222

223223
<!-- Links/Buttons -->
224224
<div class="links">
225-
{% if entry.keywords %}
225+
{% if entry.keywords %}
226226
<div class="keywords" style="display:none;">
227227
<span class="badge bg-secondary" data-keywords="{{ entry.keywords | escape }}">
228228
{{- entry.keywords | join: ', ' -}}
@@ -247,7 +247,7 @@
247247
<span style="color:DarkOrange; font-weight: bold;"
248248
><i class="fas fa-trophy"></i> &nbsp;
249249
{%- if entry.award_name %}{{ entry.award_name }}{% else %}Awarded{% endif -%}
250-
</span>
250+
</span>
251251
</a>
252252
<br>
253253
{% endif %}
@@ -270,28 +270,34 @@
270270
{% if entry.html contains '://' %}
271271
<a href="{{ entry.html }}" class="btn btn-sm z-depth-0" role="button"><i class="fas fa-link"></i> link</a>
272272
{% else %}
273-
<a href="{{ entry.html | prepend: '/assets/html/' | relative_url }}" class="btn btn-sm z-depth-0" role="button"><i class="fas fa-link"></i> url</a>
273+
<a href="{{ entry.html | prepend: '/assets/html/' | relative_url }}" class="btn btn-sm z-depth-0" role="button"
274+
><i class="fas fa-link"></i> url</a
275+
>
274276
{% endif %}
275277
{% endif %}
276278
{% if entry.pdf %}
277279
{% if entry.pdf contains '://' %}
278280
<a href="{{ entry.pdf }}" class="btn btn-sm z-depth-0" role="button"><i class="far fa-file-alt"></i> PDF</a>
279281
{% else %}
280-
<a href="{{ entry.pdf | prepend: '/assets/pdf/' | relative_url }}" class="btn btn-sm z-depth-0" role="button"><i class="far fa-file-alt"></i> PDF</a>
282+
<a href="{{ entry.pdf | prepend: '/assets/pdf/' | relative_url }}" class="btn btn-sm z-depth-0" role="button"
283+
><i class="far fa-file-alt"></i> PDF</a
284+
>
281285
{% endif %}
282286
{% endif %}
283287
{% if entry.supp %}
284288
{% if entry.supp contains '://' %}
285289
<a href="{{ entry.supp }}" class="btn btn-sm z-depth-0" role="button"><i class="far fa-file-alt"></i> Supp</a>
286290
{% else %}
287-
<a href="{{ entry.supp | prepend: '/assets/pdf/' | relative_url }}" class="btn btn-sm z-depth-0" role="button"><i class="far fa-file-alt"></i> Supp</a>
291+
<a href="{{ entry.supp | prepend: '/assets/pdf/' | relative_url }}" class="btn btn-sm z-depth-0" role="button"
292+
><i class="far fa-file-alt"></i> Supp</a
293+
>
288294
{% endif %}
289295
{% endif %}
290296
{% if entry.video and site.enable_video_embedding %}
291297
<a class="abstract btn btn-sm z-depth-0" role="button"><i class="fas fa-video"></i> Video</a>
292298
{% elsif entry.video %}
293299
{% comment %} <a href="{{ entry.video }}" class="btn btn-sm z-depth-0" role="button">Video</a> {% endcomment %}
294-
<a class="venobox btn btn-sm z-depth-0" data-autoplay="true" data-vbtype="video" href="{{ entry.video }}"
300+
<a class="venobox btn btn-sm z-depth-0" data-autoplay="true" data-vbtype="video" href="{{ entry.video }}"
295301
><i class="fas fa-video"></i> Video</a
296302
>
297303
{% endif %}
@@ -305,14 +311,18 @@
305311
{% if entry.poster contains '://' %}
306312
<a href="{{ entry.poster }}" class="btn btn-sm z-depth-0" role="button"><i class="fas fa-tv"></i> PPoster</a>
307313
{% else %}
308-
<a href="{{ entry.poster | prepend: '/assets/pdf/' | relative_url }}" class="btn btn-sm z-depth-0" role="button"><i class="fas fa-tv"></i> Poster</a>
314+
<a href="{{ entry.poster | prepend: '/assets/pdf/' | relative_url }}" class="btn btn-sm z-depth-0" role="button"
315+
><i class="fas fa-tv"></i> Poster</a
316+
>
309317
{% endif %}
310318
{% endif %}
311319
{% if entry.slides %}
312320
{% if entry.slides contains '://' %}
313321
<a href="{{ entry.slides }}" class="btn btn-sm z-depth-0" role="button"><i class="fa-regular fa-file-powerpoint"></i> Slides</a>
314322
{% else %}
315-
<a href="{{ entry.slides | prepend: '/assets/pdf/' | relative_url }}" class="btn btn-sm z-depth-0" role="button"><i class="fa-regular fa-file-powerpoint"></i> Slides</a>
323+
<a href="{{ entry.slides | prepend: '/assets/pdf/' | relative_url }}" class="btn btn-sm z-depth-0" role="button"
324+
><i class="fa-regular fa-file-powerpoint"></i> Slides</a
325+
>
316326
{% endif %}
317327
{% endif %}
318328
{% if entry.website %}

_posts/_examples/2015-07-15-code.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ For displaying code in a list item, you have to be aware of the indentation, as
4343
4444
````markdown
4545
1. We can put fenced code blocks inside nested bullets, too.
46-
4746
1. Like this:
4847
4948
```c
@@ -56,7 +55,6 @@ For displaying code in a list item, you have to be aware of the indentation, as
5655
Which displays:
5756
5857
1. We can put fenced code blocks inside nested bullets, too.
59-
6058
1. Like this:
6159
6260
```c

0 commit comments

Comments
 (0)