Skip to content

Commit 8e55f37

Browse files
using site.github.url
1 parent 200bbfa commit 8e55f37

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

_layouts/home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ <h2>A sampling of crosswords</h2>
2424
<ul class="post-list">
2525
{% for post in site.posts %}
2626
<li>
27-
<span class="post-meta" style="font-family: monospace;">{{ post.date | date: "%a, %d %b %Y" }}</span>&nbsp;&nbsp;&nbsp;<a class="post-link" href="{{ post.url }}">{{ post.title | escape }}</a>
27+
<span class="post-meta" style="font-family: monospace;">{{ post.date | date: "%a, %d %b %Y" }}</span>&nbsp;&nbsp;&nbsp;<a class="post-link" href="{{ post.url | prepend: site.github.url }}">{{ post.title | escape }}</a>
2828
{% if post.layout == 'crossword-pdf' %}
2929
(pdf)
3030
{% endif %}

feed.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ layout: null
1818
<title>{{ post.title | xml_escape }}</title>
1919
<description>{{ description | xml_escape }}</description>
2020
<pubDate>{{ post.date | date_to_xmlschema }}</pubDate>
21-
<link>{{ post.url | prepend: site.url }}</link>
22-
<guid isPermaLink="true">{{ post.url | prepend: site.url }}</guid>
21+
<link>{{ post.url | prepend: site.github.url }}</link>
22+
<guid isPermaLink="true">{{ post.url | prepend: site.github.url }}</guid>
2323
</item>
2424
{% endunless %}
2525
{% endfor %}

winners.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ <h2>listed by date</h2>
1212
{% for post in site.posts %}
1313
{% if post.winners %}
1414
<li>
15-
<span class="post-meta" style="font-family: monospace;">{{ post.date | date: "%a, %d %b %Y" }}</span>&nbsp;&nbsp;&nbsp;<a class="post-link" href="{{ post.url }}">{{ post.title | escape }}</a>
15+
<span class="post-meta" style="font-family: monospace;">{{ post.date | date: "%a, %d %b %Y" }}</span>&nbsp;&nbsp;&nbsp;<a class="post-link" href="{{ post.url | prepend: site.github.url }}">{{ post.title | escape }}</a>
1616
<br> - won by {{ post.winners | join: '; ' }}.
1717
</li>
1818
{% endif %}
@@ -51,7 +51,7 @@ <h3>{{ winner }}</h3>
5151
{% assign winner_with_semicolon = winner | append: ';' %}
5252
{% if post_winner_with_semicolon contains winner_with_semicolon %}
5353
<li>
54-
<span class="post-meta" style="font-family: monospace;">{{ post.date | date: "%a, %d %b %Y" }}</span>&nbsp;&nbsp;&nbsp;<a class="post-link" href="{{ post.url }}">{{ post.title | escape }}</a>
54+
<span class="post-meta" style="font-family: monospace;">{{ post.date | date: "%a, %d %b %Y" }}</span>&nbsp;&nbsp;&nbsp;<a class="post-link" href="{{ post.url | prepend: site.github.url }}">{{ post.title | escape }}</a>
5555
</li>
5656
{% endif %}
5757
{% endfor %}

0 commit comments

Comments
 (0)