Skip to content

Commit c935bba

Browse files
committed
updating front page to only have 3 choices instead of 4
1 parent e39e7b4 commit c935bba

File tree

6 files changed

+32
-40
lines changed

6 files changed

+32
-40
lines changed

feeds/all.atom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<feed xmlns="http://www.w3.org/2005/Atom"><title>Matt Makai</title><link href="http://www.fullstackpython.com/" rel="alternate"></link><link href="http://www.fullstackpython.com/feeds/all.atom.xml" rel="self"></link><id>http://www.fullstackpython.com/</id><updated>2014-04-27T13:19:57Z</updated></feed>
2+
<feed xmlns="http://www.w3.org/2005/Atom"><title>Matt Makai</title><link href="http://www.fullstackpython.com/" rel="alternate"></link><link href="http://www.fullstackpython.com/feeds/all.atom.xml" rel="self"></link><id>http://www.fullstackpython.com/</id><updated>2014-04-27T13:26:53Z</updated></feed>

index.html

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -58,43 +58,35 @@ <h1>Introduction</h1>
5858
<p>This guide branches out on topic because your learning needs depend on what
5959
you're currently trying to do. </p>
6060
<h3>Let's get started. What do you need to do right now?</h3>
61-
<div class="row">
62-
<div class="col-md-3">
61+
62+
<div class="row">
63+
<div class="col-md-4">
6364
<div class="well select-next">
6465
<a href="/web-frameworks.html" class="btn btn-success btn-full"><i class="fa fa-code fa-inverse fa-2x"></i></a>
6566
<p class="under-btn">
6667
I want to learn how to code a web application with Python.
6768
</p>
6869
</div>
6970
</div>
70-
<div class="col-md-3">
71+
<div class="col-md-4">
7172
<div class="well select-next">
7273
<a href="/deployment.html" class="btn btn-success btn-full"><i class="fa fa-share fa-2x"></i></a>
7374
</a>
7475
<p class="under-btn">
75-
I already built a Python web application. I need to deploy it.
76+
I've already built a Python web application. I need to deploy it.
7677
</p>
7778
</div>
7879
</div>
79-
<div class="col-md-3">
80+
<div class="col-md-4">
8081
<div class="well select-next">
8182
<a href="/best-python-resources.html" class="btn btn-success btn-full"><i class="fa fa-book fa-inverse fa-2x"></i></a>
8283
</a>
8384
<p class="under-btn">
84-
I need to prepare myself with more Python resources first.
85+
I need to prepare myself with more basic Python resources first.
8586
</p>
8687
</div>
8788
</div>
88-
<div class="col-md-3">
89-
<div class="well select-next">
90-
<a href="/change-log.html" class="btn btn-success btn-full"><i class="fa fa-pencil-square-o fa-inverse fa-2x"></i></a>
91-
</a>
92-
<p class="under-btn">
93-
I've read Full Stack Python before. What's new?
94-
</p>
95-
</div>
9689
</div>
97-
</div>
9890
</div>
9991
<div class="col-md-offset-1 col-md-3" id="sidebar">
10092
<div class="panel panel-success">

introduction.html

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -59,36 +59,28 @@ <h1>Introduction</h1>
5959
you're currently trying to do. </p>
6060
<h3>Let's get started. What do you need to do right now?</h3>
6161
<div class="row">
62-
<div class="col-md-3">
62+
<div class="col-md-4">
6363
<div class="well select-next">
6464
<a href="/web-frameworks.html" class="btn btn-success btn-full"><i class="fa fa-code fa-inverse fa-2x"></i></a>
6565
<p class="under-btn">
6666
I want to learn how to code a web application with Python.
6767
</p>
6868
</div>
6969
</div>
70-
<div class="col-md-3">
70+
<div class="col-md-4">
7171
<div class="well select-next">
7272
<a href="/deployment.html" class="btn btn-success btn-full"><i class="fa fa-share fa-2x"></i></a>
7373
</a>
7474
<p class="under-btn">
75-
I already built a Python web application. I need to deploy it.
75+
I've already built a Python web application. I need to deploy it.
7676
</p>
7777
</div>
7878
</div>
79-
<div class="col-md-3">
79+
<div class="col-md-4">
8080
<div class="well select-next">
8181
<a href="/best-python-resources.html" class="btn btn-success btn-full"><i class="fa fa-book fa-inverse fa-2x"></i></a>
8282
<p class="under-btn">
83-
I need to prepare myself with more Python resources first.
84-
</p>
85-
</div>
86-
</div>
87-
<div class="col-md-3">
88-
<div class="well select-next">
89-
<a href="/change-log.html" class="btn btn-success btn-full"><i class="fa fa-pencil-square-o fa-inverse fa-2x"></i></a>
90-
<p class="under-btn">
91-
I've read Full Stack Python before. What's new?
83+
I need to prepare myself with more basic Python resources first.
9284
</p>
9385
</div>
9486
</div>

source/content/pages/01-introduction/0101-introduction.markdown

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ choice1icon: fa-code fa-inverse
77
choice1text: I want to learn how to code a web application with Python.
88
choice2url: /deployment.html
99
choice2icon: fa-share
10-
choice2text: I already built a Python web application. I need to deploy it.
10+
choice2text: I've already built a Python web application. I need to deploy it.
1111
choice3url: /best-python-resources.html
1212
choice3icon: fa-book fa-inverse
13-
choice3text: I need to prepare myself with more Python resources first.
14-
choice4url: /change-log.html
15-
choice4icon: fa-pencil-square-o fa-inverse
16-
choice4text: I've read Full Stack Python before. What's new?
13+
choice3text: I need to prepare myself with more basic Python resources first.
14+
choice4url:
15+
choice4icon:
16+
choice4text:
1717

1818

1919
# Introduction

source/content/pages/10-misc/1003-about-author.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ choice1text:
88
choice2url:
99
choice2icon:
1010
choice2text:
11-
choice3url:
12-
choice3icon:
13-
choice3text:
11+
choice3url: /change-log.html
12+
choice3icon: fa-pencil-square-o fa-inverse
13+
choice3text: I've read Full Stack Python before. What's new?
1414
choice4url:
1515
choice4icon:
1616
choice4text:

source/theme/templates/index-choices.html

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
1+
{% if page.choice4text == "" %}
2+
{% set colwidth = 4 %}
3+
{% else %}
4+
{% set colwidth = 3 %}
5+
{% endif %}
6+
17
{% for page in pages|sort(attribute='sort-order') %}
28
{% if loop.first %}
39
<div class="row">
4-
<div class="col-md-3">
10+
<div class="col-md-{{ colwidth }}">
511
<div class="well select-next">
612
<a href="{{ page.choice1url }}" class="btn btn-success btn-full"><i class="fa {{ page.choice1icon }} fa-2x"></i></a>
713
<p class="under-btn">
814
{{ page.choice1text }}
915
</p>
1016
</div>
1117
</div>
12-
<div class="col-md-3">
18+
<div class="col-md-{{ colwidth }}">
1319
<div class="well select-next">
1420
<a href="{{ page.choice2url }}" class="btn btn-success btn-full"><i class="fa {{ page.choice2icon }} fa-2x"></i></a>
1521
</a>
@@ -18,7 +24,7 @@
1824
</p>
1925
</div>
2026
</div>
21-
<div class="col-md-3">
27+
<div class="col-md-{{ colwidth }}">
2228
<div class="well select-next">
2329
<a href="{{ page.choice3url }}" class="btn btn-success btn-full"><i class="fa {{ page.choice3icon }} fa-2x"></i></a>
2430
</a>
@@ -27,6 +33,7 @@
2733
</p>
2834
</div>
2935
</div>
36+
{% if not page.choice4text == "" %}
3037
<div class="col-md-3">
3138
<div class="well select-next">
3239
<a href="{{ page.choice4url }}" class="btn btn-success btn-full"><i class="fa {{ page.choice4icon }} fa-2x"></i></a>
@@ -36,6 +43,7 @@
3643
</p>
3744
</div>
3845
</div>
46+
{% endif %}
3947
</div>
4048
{% endif %}
4149
{% endfor %}

0 commit comments

Comments
 (0)