summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/builder/views.py7
-rw-r--r--design/sass/_resume.scss2
-rw-r--r--design/templates/details/cv.html2
3 files changed, 4 insertions, 7 deletions
diff --git a/app/builder/views.py b/app/builder/views.py
index 2efb696..7057543 100644
--- a/app/builder/views.py
+++ b/app/builder/views.py
@@ -1,9 +1,7 @@
from django.shortcuts import render_to_response
from django.template import RequestContext
-from django.conf import settings
from builder.base import BuildWriting, BuildWritingFeed, BuildMap, BuildPhotos, BuildProjects, BuildSitemap, BuildPages, BuildBooks
-#from pages.models import PageGenerator
-from src.build import BuildSrc
+from src.build import builder as src_build
options = {
'writing': BuildWriting,
@@ -46,8 +44,7 @@ def do_build(request):
BuildBooks().build()
elif section == 'src':
context = {'message': 'Writing src section to Disk'}
- BuildSrc().build()
-
+ src_build()
elif section == 'scrapeflickr':
from photos.retriever import SyncFlickr
f = SyncFlickr()
diff --git a/design/sass/_resume.scss b/design/sass/_resume.scss
index 6ae2ef4..70b7e99 100644
--- a/design/sass/_resume.scss
+++ b/design/sass/_resume.scss
@@ -3,7 +3,7 @@
@include constrain(780px);
margin-top: 4em;
}
-main header {
+.resume main header {
width: 100%;
h1 {
@include fontsize(36);
diff --git a/design/templates/details/cv.html b/design/templates/details/cv.html
index a669b18..caa7721 100644
--- a/design/templates/details/cv.html
+++ b/design/templates/details/cv.html
@@ -16,7 +16,7 @@
<meta property="og:locale" content="en_US"/>
<style>
</style>{%endblock%}
-
+{%block bodyid%}class="resume"{%endblock%}
{% block primary %}
<main role="main" id="content">
<article class="h-resume">