diff options
author | Dan McGee <dpmcgee@gmail.com> | 2011-01-20 20:22:30 -0600 |
---|---|---|
committer | Dan McGee <dpmcgee@gmail.com> | 2011-01-20 20:22:30 -0600 |
commit | 5cbe5917d5477752339c405ea1b3ee65b4477594 (patch) | |
tree | b4f175fc5218ca716c7e29845afd4a8ea8e71fd9 | |
parent | 97ec0b6d39298fec020be2a653c0dbf347406fad (diff) | |
download | website-5cbe5917d5477752339c405ea1b3ee65b4477594.tar.gz website-5cbe5917d5477752339c405ea1b3ee65b4477594.zip |
Remove links page
Since I never update it anyway.
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
-rw-r--r-- | general/views.py | 3 | ||||
-rw-r--r-- | templates/base.html | 1 | ||||
-rw-r--r-- | templates/links.html | 41 | ||||
-rw-r--r-- | urls.py | 3 |
4 files changed, 1 insertions, 47 deletions
diff --git a/general/views.py b/general/views.py index 6878503..7ffad51 100644 --- a/general/views.py +++ b/general/views.py @@ -14,7 +14,4 @@ def index(request): def about(request): return render_to_response('about.html', {}, RequestContext(request)) -def links(request): - return render_to_response('links.html', {}, RequestContext(request)) - # vim: set ts=4 sw=4 et: diff --git a/templates/base.html b/templates/base.html index 9efbe95..3790ae1 100644 --- a/templates/base.html +++ b/templates/base.html @@ -22,7 +22,6 @@ <li><a href="{% url page-about %}">About</a></li> <li><a href="{% url blog-index %}">Blog</a></li> <li><a href="http://code.toofishes.net/cgit/">Code</a></li> - <li><a href="{% url page-links %}">Links</a></li> {% if user.is_authenticated %}<li><a href="{% url admin:index %}">Admin</a></li> <li><a href="{% url admin:logout %}">Logout</a></li>{% endif %} </ul> diff --git a/templates/links.html b/templates/links.html deleted file mode 100644 index 55612ad..0000000 --- a/templates/links.html +++ /dev/null @@ -1,41 +0,0 @@ -{% extends "base.html" %} -{% block title %}toofishes.net - Links{% endblock %} - -{% block content %} -<h2>toofishes.net - Links</h2> - -<h3>People</h3> -<ul> -<li> -<a href="http://phraktured.net/">Aaron (phrakture)</a> -</li> -<li> -<a href="http://allanmcrae.com/">Allan McRae (allan)</a> -</li> -<li> -<a href="http://archlinux.me/dusty/">Dusty (dusty)</a> -</li> -<li> -<a href="http://cactuswax.net/">Eliott (cactus)</a> -</li> -<li> -<a href="http://codemac.net/">Jeff (codemac)</a> -</li> -<li> -<a href="http://www.zeroflux.org/blog/">Judd (apeiro)</a> -</li> -</ul> - -<h3>Everything Else</h3> -<ul> -<li> -<a href="http://www.archlinux.org/">Archlinux</a> - my Linux distro of choice -</li> -<li> -<a href="http://www.slicehost.com/">Slicehost</a> - where this site currently lives -</li> -<li> -<a href="http://planet.archlinux.org/">Planet Archlinux</a> - where most of the above blogs come from -</li> -</ul> -{% endblock %} @@ -11,7 +11,7 @@ admin.autodiscover() sitemaps = { 'named': NamedURLSitemap( - ["page-index", "page-about", "page-links", + ["page-index", "page-about", "blog-index", "blog-archive", "blog-tags"]), 'blog': BlogSitemap, } @@ -21,7 +21,6 @@ urlpatterns = patterns('', # 'static' pages (r'^$', 'general.views.index', None, "page-index"), (r'^about/$', 'general.views.about', None, "page-about"), - (r'^links/$', 'general.views.links', None, "page-links"), # redirects (r'^index.html$', 'django.views.generic.simple.redirect_to', {'url': '/'}), # admin site |