Skip to content

Commit a9ef812

Browse files
committed
Cleanup
1 parent dc0ba84 commit a9ef812

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/jekyll-github-pages.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,7 @@ jobs:
4242
publish_dir: ./_site
4343
# if the repo you are deploying to is <username>.github.io, uncomment the line below.
4444
# if you are including the line below, make sure your source files are NOT in the "main" branch:
45-
# publish_branch: gh-pages
45+
# publish_branch: gh-pages
46+
47+
# The above publish_branch didn't deploy from gh-pages branch to gh-pages env.
48+
# To deploy, ensure the Repo Settings -> Pages -> Source is set to gh-pages branch.

_posts/2017-10-01-hello-universe.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,8 @@ excerpt_separator: <!--more-->
1010
{% highlight ruby %}
1111
puts "Hello Universe!"
1212
{% endhighlight %}
13+
{% assign post_date = page.date %}
1314

1415
Stay tuned... 😃
1516

16-
Testing the timeago plugin on GitHub Pages
17-
18-
{% assign date = '2020-04-13T10:20:00Z' %}
19-
20-
- Original date - {{ date }}
21-
- With timeago filter - {{ date | timeago }}
17+
*Message posted {{ post_date | timeago }}*

0 commit comments

Comments
 (0)