Merry :christmas:

29 Dec is my birthday, so we get a birthday cake then.
NYE = confetti.

Need to add more, https://tatooine.club/@nemo/111639753622251364
This commit is contained in:
Nemo 2023-12-25 17:08:23 +05:30
parent 8a6a1d9412
commit bbd7fe9909
7 changed files with 49 additions and 3 deletions

View File

@ -6,4 +6,6 @@ gem "sanitize", "~> 6.0"
group :jekyll_plugins do
gem "jekyll-seo-tag", "~> 2.8"
gem "jekyll-include-cache", "~> 0.2.1"
gem "jemoji", "~> 0.13.0"
end

View File

@ -1,18 +1,37 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (7.1.2)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
addressable (2.8.5)
public_suffix (>= 2.0.2, < 6.0)
base64 (0.2.0)
bigdecimal (3.1.5)
colorator (1.1.0)
concurrent-ruby (1.2.2)
connection_pool (2.4.1)
crass (1.0.6)
drb (2.2.0)
ruby2_keywords
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.16.2)
forwardable-extended (2.6.0)
gemoji (4.1.0)
google-protobuf (3.24.3-x86_64-linux)
html-pipeline (2.14.3)
activesupport (>= 2)
nokogiri (>= 1.4)
http_parser.rb (0.8.0)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
@ -40,6 +59,10 @@ GEM
jekyll (>= 3.8, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
jemoji (0.13.0)
gemoji (>= 3, < 5)
html-pipeline (~> 2.2)
jekyll (>= 3.0, < 5.0)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
@ -49,6 +72,8 @@ GEM
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
minitest (5.20.0)
mutex_m (0.2.0)
nokogiri (1.15.4-x86_64-linux)
racc (~> 1.4)
pathutil (0.16.2)
@ -60,6 +85,7 @@ GEM
ffi (~> 1.0)
rexml (3.2.6)
rouge (4.1.3)
ruby2_keywords (0.0.5)
safe_yaml (1.0.5)
sanitize (6.1.0)
crass (~> 1.0.2)
@ -68,6 +94,8 @@ GEM
google-protobuf (~> 3.23)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.4.2)
webrick (1.8.1)
@ -78,7 +106,8 @@ DEPENDENCIES
jekyll (~> 4.3.2)
jekyll-include-cache (~> 0.2.1)
jekyll-seo-tag (~> 2.8)
jemoji (~> 0.13.0)
sanitize (~> 6.0)
BUNDLED WITH
2.4.20
2.4.22

View File

@ -12,6 +12,7 @@ timezone: Asia/Kolkata
plugins:
- jekyll-include-cache
- jekyll-seo-tag
- jemoji
env: development
webmaster_verifications:
google: sR2qUrWTIJvtOlBP4RwHSavUoICUZaIGYLdxuylnSc4

View File

@ -0,0 +1,8 @@
{% capture current_date %}{{ "now" | date: "%m-%d" }}{% endcapture %}
{% if current_date == "12-25" %}
:christmas_tree:
{% elsif current_date == "12-29" %}
:birthday:
{% elsif current_date == "12-31" or current_date == "01-01" %}
:confetti_ball:
{% endif %}

View File

@ -11,6 +11,7 @@ layout: default
<h1 class="story-title">{{page.title | strip}}</h1>
{% if page.sources%}<p>{{page.sources | join: " "}}</p>{%endif%}
<time datetime="{{page.date | date:'%FT%T%:z'}}">{{page.date | date: "%A, %b %e %Y"}}</time>
{% include date-easter.html %}
</div>
<div class="hr-line"></div>

View File

@ -7,7 +7,10 @@ layout: default
<div class="topic-container">
<h1 class="topic-heading">{{page.title | capitalize | strip}}</h1>
<div class="hr-line"></div>
<p class="topic-date"><time datetime="{{site.time | date: '%y-%m-%d'}}">{{site.time | date: "%A, %b, %e, %Y"}}</time></p>
<p class="topic-date">
<time datetime="{{site.time | date: '%y-%m-%d'}}">{{site.time | date: "%A, %b, %e, %Y"}}</time>
{% include date-easter.html %}
</p>
{% if page.article_count == 0 %}
<p class="topic-empty">No articles today under {{page.title}}</p>

View File

@ -5,7 +5,9 @@ layout: default
<div class="topic-container">
<h1 class="topic-heading">{{page.title}}</h1>
<div class="hr-line"></div>
<p class="topic-date"><time datetime="{{site.time | date: '%y-%m-%d'}}">{{site.time | date: "%A, %b, %e, %Y"}}</time></p>
<p class="topic-date"><time datetime="{{site.time | date: '%y-%m-%d'}}">{{site.time | date: "%A, %b, %e, %Y"}}</time>
{% include date-easter.html %}
</p>
{% for T in site.data.topics %}
{% assign post_count = T[1] %}
{% if post_count > 0 %}