Skip to content

Commit

Permalink
nonrelative date, grayscale removed (#101)
Browse files Browse the repository at this point in the history
* nonrelative date, grayscale removed

* date updated
  • Loading branch information
bgalek authored Jul 24, 2024
1 parent a5506fb commit 349bf0d
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 13 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ gem "kramdown-parser-gfm"
gem "jekyll-feed", "~> 0.12"
gem 'jekyll-postcss-v2'
gem 'jekyll-paginate-v2'
gem 'jekyll-timeago'
gem 'jekyll-sitemap'
gem 'jekyll-seo-tag'
gem 'jekyll-tagging'
Expand Down
4 changes: 0 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ GEM
jekyll (>= 3.7, < 5.0)
jekyll-tagging (1.1.0)
nuggets
jekyll-timeago (0.15.0)
mini_i18n (>= 0.8.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.4.0)
Expand All @@ -57,7 +55,6 @@ GEM
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
mini_i18n (0.9.0)
nuggets (1.6.1)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
Expand Down Expand Up @@ -98,7 +95,6 @@ DEPENDENCIES
jekyll-seo-tag
jekyll-sitemap
jekyll-tagging
jekyll-timeago
kramdown-parser-gfm
tzinfo (>= 1, < 3)
tzinfo-data
Expand Down
4 changes: 0 additions & 4 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ plugins:
- jekyll-feed
- jekyll-postcss-v2
- jekyll-paginate-v2
- jekyll-timeago
- jekyll-sitemap
- jekyll-seo-tag
- jekyll/tagging
Expand All @@ -26,9 +25,6 @@ feed:
excerpt_only: true
disable_in_development: true

jekyll_timeago:
depth: 1

pagination:
enabled: true
per_page: 25
Expand Down
2 changes: 1 addition & 1 deletion _includes/post/multiple-authors.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
site.data.members[author].name }}</a>{% if forloop.last == false %},{% endif %}
{% endfor %}
<p class="text-base text-gray-500 dark:text-gray-400">
<time pubdate datetime="{{ page.date }}" title="{{ page.date | date: '<strong>%b %-d</strong> %Y' }}">
<time pubdate datetime="{{ page.date }}" title="{{ page.date }}">
{{ page.date | date: "<strong>%b %-d</strong> %Y" }}
</time>
</p>
Expand Down
2 changes: 1 addition & 1 deletion _layouts/author.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h1>All posts by <br /><span class="text-primary-600 dark:text-primary-500">{{au
{% if post.author contains page.author %}
<article>
<div class="flex flex-col-reverse sm:flex-row justify-start sm:justify-between items-start sm:items-center mb-5 text-gray-500">
<span class="text-sm">{{ post.date | timeago }}</span>
<span class="text-sm">{{ post.date | date: '<strong class="text-sm text-base text-gray-500 dark:text-gray-400">%b %-d</strong> %Y' }}</span>
</div>
<h2 class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">
<a href="{{ post.url }}" class="no-underline hover:underline">{{ post.title }}</a>
Expand Down
2 changes: 1 addition & 1 deletion about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h2>Our editors:</h2>
{% endfor %}
</ul>
<h2>Former editors:</h2>
<ul class="list-none grayscale" style="padding: 0">
<ul class="list-none" style="padding: 0">
{% assign authors = site.data.members | sort %}
{% for author in authors %}
{% assign authorKey = author[0] %}
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{% for post in paginator.posts %}
<article>
<div class="flex flex-col-reverse sm:flex-row justify-start sm:justify-between items-start sm:items-center mb-2 text-gray-500">
<span class="text-sm">{{ post.date | timeago }}</span>
<span class="text-sm">{{ post.date | date: '<strong class="text-sm text-base text-gray-500 dark:text-gray-400">%b %-d</strong> %Y' }}</span>
</div>
<h2 class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">
<a href="{{ post.url }}" class="no-underline hover:underline">{{ post.title }}</a>
Expand Down

0 comments on commit 349bf0d

Please sign in to comment.