Skip to content

Commit abf5f53

Browse files
committed
path to blog posts is /blog, match existing site
1 parent 3d4cf8b commit abf5f53

9 files changed

+9
-13
lines changed

Diff for: .gitignore

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
1-
_site/
2-
.sass-cache/
3-
.jekyll-cache/
4-
.jekyll-metadata
5-
.bundle
61
.venv
2+
*.pyc

Diff for: _site/index.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ <h3>Recent posts</h3>
8080

8181

8282
<li>
83-
<a href="posts/2020-01-25-testing_external_api_calls.html">2020-01-25 Writing tests for external API calls</a>
83+
<a href="blog/2020-01-25-testing_external_api_calls.html">2020-01-25 Writing tests for external API calls</a>
8484
</li>
8585

8686

@@ -93,25 +93,25 @@ <h3>Classic 2017 Episodes on Ports & Adapters, by Bob</h3>
9393

9494

9595
<li>
96-
<a href="posts/2017-09-07-introducing-command-handler.html">2017-09-07 Introducing Command Handler</a>
96+
<a href="blog/2017-09-07-introducing-command-handler.html">2017-09-07 Introducing Command Handler</a>
9797
</li>
9898

9999

100100

101101
<li>
102-
<a href="posts/2017-09-08-repository-and-unit-of-work-pattern-in-python.html">2017-09-08 Repository and Unit of Work Pattern</a>
102+
<a href="blog/2017-09-08-repository-and-unit-of-work-pattern-in-python.html">2017-09-08 Repository and Unit of Work Pattern</a>
103103
</li>
104104

105105

106106

107107
<li>
108-
<a href="posts/2017-09-13-commands-and-queries-handlers-and-views.html">2017-09-13 Commands, Handlers, Queries and Views</a>
108+
<a href="blog/2017-09-13-commands-and-queries-handlers-and-views.html">2017-09-13 Commands, Handlers, Queries and Views</a>
109109
</li>
110110

111111

112112

113113
<li>
114-
<a href="posts/2017-09-19-why-use-domain-events.html">2017-09-19 Why use domain events?</a>
114+
<a href="blog/2017-09-19-why-use-domain-events.html">2017-09-19 Why use domain events?</a>
115115
</li>
116116

117117

Diff for: _site/rss.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Simple patterns for building complex apps
88
</description>
99
<link>https://cosmicpython.com</link>
10-
<lastBuildDate>Mon, 16 Mar 2020 10:26:22 -0000</lastBuildDate>
10+
<lastBuildDate>Mon, 16 Mar 2020 10:44:20 -0000</lastBuildDate>
1111
<pubDate>Sat, 4 Jan 2020 19:15:54 -0500</pubDate>
1212
<atom:link href="https://cosmicpython.com/rss.xml" rel="self" type="application/rss+xml" />
1313

Diff for: generate-html.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ class Post:
2424

2525
@property
2626
def html_path(self):
27-
return OUTPUT_DIR / "posts" / self.md_path.name.replace('.md', '.html')
27+
return OUTPUT_DIR / "blog" / self.md_path.name.replace('.md', '.html')
2828

2929
@property
3030
def url(self):
31-
return f"posts/{self.html_path.name}"
31+
return f"blog/{self.html_path.name}"
3232

3333

3434

0 commit comments

Comments
 (0)