Skip to content

Commit 6ba8c18

Browse files
committed
Updating pages to be dynamic in restructured text.
1 parent 404c338 commit 6ba8c18

File tree

5 files changed

+83
-3
lines changed

5 files changed

+83
-3
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>2012-12-23T14:56:38Z</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>2012-12-24T09:17:58Z</updated></feed>

index.html

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,21 @@ <h1>Full Stack Python</h1>
4242
<div class="row">
4343
<div class="span3" id="fsp-side-nav">
4444
<ul class="nav nav-list fsp-side-nav-ul affix">
45-
<li><a href="#summary">Summary</a></li>
45+
<li><a href="#introduction">Introduction</a></li>
46+
<li><a href="#summary">Summary</a></li>
4647
<li><a href="#servers">Servers</a></li>
4748
<li><a href="#operatingsystem">Operating System</a></li>
4849
</ul>
4950
</div>
5051
<div class="span9">
51-
<div>
52+
<section id="introduction">
53+
<h2>Introduction</h2>
54+
<p>Lorem ipsum introduction.</p>
55+
56+
</section>
57+
<div>
5258
<section id="summary">
59+
5360
<h2>Summary</h2>
5461
<p>Cupidatat flannel ex, locavore church-key synth ullamco umami. Intelligentsia lo-fi post-ironic, williamsburg VHS mcsweeney's nulla gastropub. Irony direct trade try-hard, artisan street art narwhal aliquip organic nihil. Austin wayfarers sunt direct trade lomo. Readymade cred street art semiotics. Raw denim placeat retro art party, ut ea cosby sweater cliche master cleanse pop-up aliquip williamsburg actually excepteur laborum. Cliche keffiyeh pop-up adipisicing, locavore lomo whatever stumptown cray small batch assumenda aliquip.
5562

pages/introduction.html

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
<!doctype html>
2+
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
3+
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
4+
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
5+
<!--[if gt IE 8]><!-->
6+
<html class="no-js" lang="en"> <!--<![endif]-->
7+
8+
<head>
9+
<meta charset="utf-8">
10+
<meta name="language" content="English" />
11+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
12+
13+
<title>Full Stack Python</title>
14+
<meta name="description" content="Full stack Python shows how an entire Python web application is built, from the server to the front end JavaScript.">
15+
<meta name="author" content="Matt Makai">
16+
<meta name="viewport" content="width=device-width,initial-scale=1">
17+
<link rel="stylesheet" href="/css/c.css" />
18+
<link rel="stylesheet" href="/css/bootstrap-responsive.min.css" />
19+
<script src="/js/modernizr-2.0.6.min.js"></script>
20+
<script type="text/javascript">
21+
22+
var _gaq = _gaq || [];
23+
_gaq.push(['_setAccount', 'UA-19910497-7']);
24+
_gaq.push(['_trackPageview']);
25+
26+
(function() {
27+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
28+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
29+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
30+
})();
31+
32+
</script>
33+
</head>
34+
35+
<body>
36+
<div class="container">
37+
<div class="row" style="margin-bottom: 20px;">
38+
<div class="span12">
39+
<h1>Full Stack Python</h1>
40+
</div>
41+
</div>
42+
<h1>Introduction</h1>
43+
44+
45+
<p>Lorem ipsum introduction.</p>
46+
47+
<hr/>
48+
<div class="footer pull-right">
49+
&copy; <a href="http://www.mattmakai.com/" class="underline">Matt Makai</a> 2013
50+
</div>
51+
</div>
52+
53+
<script src="http://code.jquery.com/jquery-latest.js"></script>
54+
<script src="/js/bootstrap.min.js"></script>
55+
</body>
56+
</html>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Introduction
2+
============
3+
4+
:category: page
5+
:slug: introduction
6+
7+
Lorem ipsum introduction.

source/theme/templates/index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,24 @@
66
<div class="row">
77
<div class="span3" id="fsp-side-nav">
88
<ul class="nav nav-list fsp-side-nav-ul affix">
9+
{% for page in pages %}
10+
<li><a href="#{{ page.slug }}">{{ page.title }}</a></li>
11+
{% endfor %}
912
<li><a href="#summary">Summary</a></li>
1013
<li><a href="#servers">Servers</a></li>
1114
<li><a href="#operatingsystem">Operating System</a></li>
1215
</ul>
1316
</div>
1417
<div class="span9">
18+
{% for page in pages %}
19+
<section id="{{ page.slug }}">
20+
<h2>{{ page.title }}</h2>
21+
{{ page.content }}
22+
</section>
23+
{% endfor %}
1524
<div>
1625
<section id="summary">
26+
1727
<h2>Summary</h2>
1828
<p>Cupidatat flannel ex, locavore church-key synth ullamco umami. Intelligentsia lo-fi post-ironic, williamsburg VHS mcsweeney's nulla gastropub. Irony direct trade try-hard, artisan street art narwhal aliquip organic nihil. Austin wayfarers sunt direct trade lomo. Readymade cred street art semiotics. Raw denim placeat retro art party, ut ea cosby sweater cliche master cleanse pop-up aliquip williamsburg actually excepteur laborum. Cliche keffiyeh pop-up adipisicing, locavore lomo whatever stumptown cray small batch assumenda aliquip.
1929

0 commit comments

Comments
 (0)