Skip to content

Commit 437601c

Browse files
[docs](doc): Expires(in future) (#1408)
* [docs](doc): Expires(in future) Signed-off-by: Ralph Hightower <32745442+RalphHightower@users.noreply.github.com> * [docs](doc): Markdown(separate GMT offset hh:mm) Signed-off-by: Ralph Hightower <32745442+RalphHightower@users.noreply.github.com> --------- Signed-off-by: Ralph Hightower <32745442+RalphHightower@users.noreply.github.com>
1 parent d08e8b1 commit 437601c

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

WhereIsTrump-Countdown.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ date: 2025-04-30 8:20 AM
1010
title: "Where Is Trump? 🔥DC? FL⛳️?"
1111
---
1212

13-
{% assign timestamp = 'now' | date: "%F %r%z %Z" %}
13+
If it's the weekend, America's Golfer-in-Chief, [Trump](https://www.donaldjtrump.com/) is busy grifting America, playing golf at his [Mar-a-Lago Golf Resort](https://www.maralagoclub.com/)
14+
15+
{% assign timestamp = 'now' | date: "%F %r%::z %Z" %}
1416
Current Date/Time: {{ timestamp }}
1517

1618
## Days Count Up / Term Count Down

_includes/custom-head.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@
33

44
1. Head over to https://realfavicongenerator.net/ to add your own favicons.
55
2. Customize default _includes/custom-head.html in your source directory and insert the given code snippet.
6+
Expires: Thu, 01 Dec 1994 16:00:00 GMT
7+
%a, %d %b %Y %T %Z
68
{% endcomment %}
79

8-
<link rel="preload" href="Mona-Sans.woff2" as="font" type="font/woff2" crossorigin>
9-
<link rel="preload" href="Hubot-Sans.woff2" as="font" type="font/woff2" crossorigin>
10+
{% expire = 'now' | date: '%s' | plus: 60 | date: '%a, %d %b %Y %T %Z' %}
1011

1112
{% if page.url contains "WhereIsTrump-Countdown" %}
1213
<meta http-equiv="Cache-Control" content="no-cache, no-store, max-age=1, must-revalidate">
1314
<meta http-equiv="Pragma" content="no-cache">
14-
<meta http-equiv="Expires" content="1">
15+
<meta http-equiv="Expires" content="expires">
1516
{% endif %}
17+
18+
<link rel="preload" href="Mona-Sans.woff2" as="font" type="font/woff2" crossorigin>
19+
<link rel="preload" href="Hubot-Sans.woff2" as="font" type="font/woff2" crossorigin>

0 commit comments

Comments
 (0)