Skip to content

Commit 6e7cae9

Browse files
committed
move stuff out of index.md into index.html
1 parent ce01de6 commit 6e7cae9

3 files changed

Lines changed: 63 additions & 38 deletions

File tree

index.html

Lines changed: 30 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -25,43 +25,37 @@ <h1 class="title">Cosmic Python</h1>
2525

2626
<section class="container">
2727

28-
<p># cosmic_python</p>
29-
<p><strong><em>simple patterns for building complex applications</em></strong></p>
30-
<hr>
31-
<p><em>(Because &ldquo;Cosmos&rdquo; is the <a href="https://www.goodreads.com/quotes/604655-cosmos-is-a-greek-word-for-the-order-of-the">opposite of Chaos</a>, you see)</em></p>
32-
<p><img src="images/cover.png" alt="Cover Image for Architecture Patterns with Python Book" style="float: right;" width="200" /></p>
33-
<h2>The Book</h2>
34-
<ul>
35-
<li>Read for free from the sources using Github previews:
36-
<a href="https://github.com/cosmicpython/book#table-of-contents">github.com/cosmicpython/book</a></li>
37-
<li>Read in Early Release via O&rsquo;Reilly Learning (aka Safari)
38-
<a href="https://learning.oreilly.com/library/view/architecture-patterns-with/9781492052197/">learning.oreilly.com</a></li>
39-
<li>Preorder on <a href="https://amzn.to/37pR2DH">Amazon.com</a> or <a href="https://amzn.to/38CmFu1">Amazon.co.uk</a></li>
40-
</ul>
41-
<h2>Blog</h2>
42-
<h3>Recent posts</h3>
43-
<ul>
44-
{% for post in site.posts reversed %}
45-
{% assign year = post.date | date: "%Y" %}
46-
{% if year != "2017" %}
47-
<li>
48-
<a href="{{ post.url }}">{{ post.date | date: "%Y-%m-%d" }} {{ post.title }}</a>
49-
</li>
50-
{% endif %}
51-
{% endfor %}
52-
</ul>
28+
<div class="row">
29+
<div class="column">
30+
<img src="https://www.jpl.nasa.gov/spaceimages/images/largesize/PIA13111_hires.jpg" />
31+
</div>
32+
</div>
33+
<h1>Cosmic Python</h1>
34+
<h2>Simple patterns for building complex applications</h2>
35+
<p>
36+
<em>
37+
(Because "Cosmos" is the
38+
<a href="https://www.goodreads.com/quotes/604655-cosmos-is-a-greek-word-for-the-order-of-the">opposite of Chaos</a>,
39+
you see)
40+
</em>
41+
</p>
42+
43+
<h1>The Book</h1>
44+
<ul>
45+
<li>
46+
Read for free from the sources using Github previews:
47+
<a href="https://github.com/cosmicpython/book#table-of-contents">github.com/cosmicpython/book</a>
48+
</li>
49+
50+
<li>
51+
Read in Early Release via O'Reilly Learning (aka Safari)
52+
<a href="https://learning.oreilly.com/library/view/architecture-patterns-with/9781492052197/">learning.oreilly.com</a>
53+
</li>
54+
55+
<li>
56+
Preorder on [Amazon.com](https://amzn.to/37pR2DH) or [Amazon.co.uk](https://amzn.to/38CmFu1)
57+
5358

54-
<h3>Classic 2017 Episodes on Ports &amp; Adapters, by Bob</h3>
55-
<ul>
56-
{% for post in site.posts reversed %}
57-
{% assign year = post.date | date: "%Y" %}
58-
{% if year == "2017" %}
59-
<li>
60-
<a href="{{ post.url }}">{{ post.date | date: "%Y-%m-%d" }} {{ post.title }}</a>
61-
</li>
62-
{% endif %}
63-
{% endfor %}
64-
</ul>
6559

6660
</section>
6761
</main>

rss.xml

Lines changed: 1 addition & 1 deletion
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>Sun, 15 Mar 2020 19:41:45 -0000</lastBuildDate>
10+
<lastBuildDate>Sun, 15 Mar 2020 21:52: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

templates/index.html

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,37 @@
11
{% extends "templates/base.html" %}
22

3+
34
{% block content_block %}
4-
{{ content }}
5+
<div class="row">
6+
<div class="column">
7+
<img src="https://www.jpl.nasa.gov/spaceimages/images/largesize/PIA13111_hires.jpg" />
8+
</div>
9+
</div>
10+
<h1>Cosmic Python</h1>
11+
<h2>Simple patterns for building complex applications</h2>
12+
<p>
13+
<em>
14+
(Because "Cosmos" is the
15+
<a href="https://www.goodreads.com/quotes/604655-cosmos-is-a-greek-word-for-the-order-of-the">opposite of Chaos</a>,
16+
you see)
17+
</em>
18+
</p>
19+
20+
<h1>The Book</h1>
21+
<ul>
22+
<li>
23+
Read for free from the sources using Github previews:
24+
<a href="https://github.com/cosmicpython/book#table-of-contents">github.com/cosmicpython/book</a>
25+
</li>
26+
27+
<li>
28+
Read in Early Release via O'Reilly Learning (aka Safari)
29+
<a href="https://learning.oreilly.com/library/view/architecture-patterns-with/9781492052197/">learning.oreilly.com</a>
30+
</li>
31+
32+
<li>
33+
Preorder on [Amazon.com](https://amzn.to/37pR2DH) or [Amazon.co.uk](https://amzn.to/38CmFu1)
34+
35+
536
{% endblock %}
637

0 commit comments

Comments
 (0)