Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhruv Kumar committed Jan 13, 2024
1 parent 76b4253 commit 7c197f7
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 20 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ collections:
permalink: /projects/:path/

news_scrollable: false # adds a vertical scroll bar if there are more than 3 news items
news_limit: 10 # leave blank to include all the news in the `_news` folder
news_limit: 20 # leave blank to include all the news in the `_news` folder

# -----------------------------------------------------------------------------
# Jekyll settings
Expand Down
2 changes: 1 addition & 1 deletion _news/announcement_10.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ date: 2023-11-14 12:00:00-0400
inline: true
---

Received the <a href="https://cloud.google.com/edu/faculty">Google Cloud Education Grant</a> for teaching Distributed Systems at IIIT Delhi. <b>[Grant Amount: INR 12,50,000]</b>
Received the <a href="https://cloud.google.com/edu/faculty">Google Cloud Education Grant</a> for teaching Distributed Systems at IIIT Delhi. <b>[Grant Amount: INR 20,50,000]</b>
18 changes: 9 additions & 9 deletions deleted_files/news.md → _pages/news.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
<!-- ---
---
layout: page
permalink: /news/
title: News
description:
nav: true
nav_order: 3
--- -->
---
<!-- <div class="news">
<div class="news">
{% if site.news != blank -%}
{%- assign news_size = site.news | size -%}
<div class="table-responsive" {% if site.news_scrollable and news_size > 3 %}style="max-height: 10vw"{% endif %}>
<table class="table table-sm table-borderless">
{%- assign news = site.news | reverse -%}
{% if site.news_limit %}
<!-- {% if site.news_limit %}
{% assign news_limit = site.news_limit %}
{% else %}
{% assign news_limit = news_size %}
{% endif %}
{% for item in news limit: news_limit %}
{% else %} -->
<!-- {% assign news_limit = news_size %} -->
<!-- {% endif %} -->
{% for item in news limit: news_size %}
<tr>
<th scope="row" class="col-md-2">{{ item.date | date: "%b %-d, %Y" }}</th>
<td>
Expand All @@ -35,5 +35,5 @@ nav_order: 3
{%- else -%}
<p>No news so far...</p>
{%- endif %}
</div> -->
</div>

9 changes: 0 additions & 9 deletions news.html

This file was deleted.

0 comments on commit 7c197f7

Please sign in to comment.