Skip to content

Commit 8d8f038

Browse files
committed
Fixed weird URL issues with a new container
1 parent bf64908 commit 8d8f038

File tree

9 files changed

+10
-8
lines changed

9 files changed

+10
-8
lines changed

website/_posts/2013-06-14-Intro-Dataviz.md renamed to website/_containers/intro/2013-06-14-dataviz.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: DataViz
2+
title: dataviz
33
layout: post.html
44
tags: [intro-dataviz]
55
---

website/_site/assets/pdfs/setup/mac-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ $ sudo pip install --upgrade setuptools
6060

6161
<h5 style="text-align:center"><span style="color:#8c8c8c">virtualenv & virtualenvwrapper</span></h5>
6262

63-
virtualenv\[9] creates isolated environments for each of your Python projects. It helps to solve version & dependency problems with multiple Python installations and/or multiple versions of different Python packages. We’ll use `pip` to install it:
63+
virtualenv\[9] creates isolated environments for each of your Python projects. It helps to solve version & dependency problems with multple Python installations and/or multiple versions of different Python packages. We’ll use `pip` to install it:
6464

6565
```bash
6666
$ sudo pip install virtualenv

website/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,6 @@ containers:
3535
url: /begin/<slug>/
3636
workshop:
3737
url: /workshop/<slug>/
38+
intro:
39+
url: /tutorials/
3840
include: [".htaccess"]

website/tutorials/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<a href="{{ get_url('/begin') }}" class="panel-title">Read me first!</a>
1010
</div>
1111
<div class="panel-body">
12-
{% for post in posts %}
12+
{% for post in containers.intro %}
1313
{% if 'begin-intro' in post.tags %}
1414
<dd>
1515
<dl>
@@ -30,7 +30,7 @@
3030
<a href="{{ get_url('dataviz/') }}" class="panel-title">Data Visualization</a> <span class="label label-default label-as-badge pull-right">beginner</span>
3131
</div>
3232
<div class="panel-body">
33-
{% for post in posts %}
33+
{% for post in containers.intro %}
3434
{% if 'intro-dataviz' in post.tags %}
3535
<p>{{ post.excerpt }}</p>
3636
<p><a href="{{ get_url('dataviz/')}}">With Python, you can do better. &rarr;</a></p>
@@ -45,7 +45,7 @@
4545
<a href="{{ get_url('api/') }}" class="panel-title">APIs</a> <span class="label label-default label-as-badge pull-right">intermediate</span>
4646
</div>
4747
<div class="panel-body">
48-
{% for post in posts %}
48+
{% for post in containers.intro %}
4949
{% if 'intro-api' in post.tags %}
5050
<p>{{ post.excerpt }}</p>
5151
<p><a href="{{ get_url('api/')}}">Let’s see how we can with Python. &rarr;</a></p>
@@ -62,7 +62,7 @@
6262
<a href="{{ get_url('scrape/') }}" class="panel-title">Web Scraping</a> <span class="label label-default label-as-badge pull-right">intermediate</span>
6363
</div>
6464
<div class="panel-body">
65-
{% for post in posts %}
65+
{% for post in containers.intro %}
6666
{% if 'intro-scrape' in post.tags %}
6767
<p>{{ post.excerpt }}</p>
6868
<p><a href="{{ get_url('scrape/')}}">Learn to scrape with Python. &rarr;</a></p>
@@ -78,7 +78,7 @@
7878
<a href="{{ get_url('networks/') }}" class="panel-title">Networks</a> <span class="label label-default label-as-badge pull-right">advanced</span>
7979
</div>
8080
<div class="panel-body">
81-
{% for post in posts %}
81+
{% for post in containers.intro %}
8282
{% if 'intro-network' in post.tags %}
8383
<p>{{ post.excerpt }}</p>
8484
<p><a href="{{ get_url('networks/')}}">Learn how to create an IRC bot with Python. &rarr;</a></p>
@@ -95,7 +95,7 @@
9595
<a href="{{ get_url('gui/') }}" class="panel-title">GUI</a> <span class="label label-default label-as-badge pull-right">advanced</span> <span class="label label-primary label-as-badge pull-right">new!</span>
9696
</div>
9797
<div class="panel-body">
98-
{% for post in posts %}
98+
{% for post in containers.intro %}
9999
{% if 'intro-gui' in post.tags %}
100100
<p>{{ post.excerpt }}</p>
101101
<p><a href="{{ get_url('gui/')}}">Learn how to make a Sudoku game with Python. &rarr;</a></p>

0 commit comments

Comments
 (0)