File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 42
42
publish_dir : ./_site
43
43
# if the repo you are deploying to is <username>.github.io, uncomment the line below.
44
44
# 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.
Original file line number Diff line number Diff line change @@ -10,12 +10,8 @@ excerpt_separator: <!--more-->
10
10
{% highlight ruby %}
11
11
puts "Hello Universe!"
12
12
{% endhighlight %}
13
+ {% assign post_date = page.date %}
13
14
14
15
Stay tuned... 😃
15
16
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 }}*
You can’t perform that action at this time.
0 commit comments