summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/posts/models.py2
-rw-r--r--app/posts/templates/posts/guide_detail.html2
-rw-r--r--app/posts/templates/posts/post_detail.html2
-rw-r--r--app/posts/templates/posts/post_list.html10
-rw-r--r--app/posts/views.py2
-rw-r--r--app/src/templates/src/srcpost_detail.html2
-rw-r--r--config/base_urls.py6
-rw-r--r--design/sass/_header.scss12
-rw-r--r--design/sass/_src.scss32
-rw-r--r--design/sass/print.scss48
-rw-r--r--design/templates/lib/breadcrumbs_detail.html14
11 files changed, 94 insertions, 38 deletions
diff --git a/app/posts/models.py b/app/posts/models.py
index 8a0ac23..0c5d74f 100644
--- a/app/posts/models.py
+++ b/app/posts/models.py
@@ -60,7 +60,7 @@ class Post(models.Model):
(0, 'single'),
)
POST_TYPE = (
- (0, 'guide'),
+ (0, 'field test'),
(1, 'review'),
(2, 'essay'),
)
diff --git a/app/posts/templates/posts/guide_detail.html b/app/posts/templates/posts/guide_detail.html
index 2ce5a6e..7e5df74 100644
--- a/app/posts/templates/posts/guide_detail.html
+++ b/app/posts/templates/posts/guide_detail.html
@@ -34,7 +34,7 @@
<main>
<ul class="bl" id="breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<li><a href="/" title="luxagraf homepage" itemprop="url"><span itemprop="title">Home</span></a> &rarr; </li>
- <li><a href="/guides/" title="Advice, Tools, Tips and Tricks for Full Time Van, RV, and School Bus Life." itemprop="url"> <span itemprop="title">Guides</span></a> &rarr; </li>
+ <li><a href="/field-tests/" title="Advice, Tools, Tips and Tricks for Full Time Van, RV, and School Bus Life." itemprop="url"> <span itemprop="title">Field-Tests</span></a> &rarr; </li>
<li itemprop="title">{{object.short_title|smartypants|safe}}</li>
</ul>
<article class="h-entry hentry {% with object.get_template_name_display as t %}{%if t == "double" or t == "double-dark" %} post--article--double{%endif%}{%endwith%}" itemscope itemType="http://schema.org/Article">
diff --git a/app/posts/templates/posts/post_detail.html b/app/posts/templates/posts/post_detail.html
index 6840658..9e82786 100644
--- a/app/posts/templates/posts/post_detail.html
+++ b/app/posts/templates/posts/post_detail.html
@@ -34,7 +34,7 @@
<main>
<ul class="bl" id="breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<li><a href="/" title="luxagraf homepage" itemprop="url"><span itemprop="title">Home</span></a> &rarr; </li>
- <li><a href="/guides/" title="Advice, Tools, Tips and Tricks for Full Time Van, RV, and School Bus Life." itemprop="url"> <span itemprop="title">{{object.get_post_type_display}}</span></a> &rarr; </li>
+ <li><a href="/field-tests/" title="Advice, Tools, Tips and Tricks for Full Time Van, RV, and School Bus Life." itemprop="url"> <span itemprop="title">{{object.get_post_type_display}}</span></a> &rarr; </li>
<li itemprop="title">{{object.short_title|smartypants|safe}}</li>
</ul>
<article class="h-entry hentry {% with object.get_template_name_display as t %}{%if t == "double" or t == "double-dark" %} post--article--double{%endif%}{%endwith%}" itemscope itemType="http://schema.org/Article">
diff --git a/app/posts/templates/posts/post_list.html b/app/posts/templates/posts/post_list.html
index 9ec3e25..9b3a1f3 100644
--- a/app/posts/templates/posts/post_list.html
+++ b/app/posts/templates/posts/post_list.html
@@ -11,14 +11,12 @@
</ul>
<main role="main" id="essay-archive" class="essay-archive archive-list">
<div class="essay-intro">
- <h2>Guides for fellow travelers</h2>
+ <h2>Field Tests</h2>
<h3>Advice, Tools, Tips, and Tricks for Full Time Van or RV Life.</h3>
- <p>After {{years_on_the_road}} years on the road, here's what I know: all you really need is a van or RV, a way to cook, and way to keep food cool.</p>
- <p>After that, it's all luxury. The less stuff you travel with the better off you will be. Well, up to a point. But where is that point? What do you really need? What should you skip? What's enough? What's too much?</p>
- <p>Ultimately, these are questions you'll have to answer for yourself, and you won't answer them until you get out there and start living on the road full time. In the mean time, this is me answering those questions for myself, and hoping maybe it will help you find your own answers faster.</p>
- <p>Topics include {% for topic in topic_list %}{{topic}}, {% endfor %}camping, cooking, photography, simplicity, and once or twice, coffee.</p>
+ <p>After {{years_on_the_road}} years on the road, here's what I know: all you really need is a vehicle, a stove and a cooler. After that, it's all luxury. The less stuff you travel with the better off you are. Up to a point. Having the right tools is important. The right tools make life easier and more fun.</p>
+ <p>I put this together to help you find the tools you need. These aren't casual reviews. These are things I have spent years seeking out, using, and refining. In the end what you need are not things, but solutions to problems. </p>
</div>
- <h1 class="topic-hed">Guides</h1>
+ <h1 class="topic-hed">Reviews</h1>
{% autopaginate object_list 30 %}
<ul class="fancy-archive-list">{% for object in object_list %}
<li class="h-entry hentry" itemscope itemType="http://schema.org/Article">
diff --git a/app/posts/views.py b/app/posts/views.py
index 47c8c86..2e5c95a 100644
--- a/app/posts/views.py
+++ b/app/posts/views.py
@@ -29,7 +29,7 @@ class GuidesListView(PostList):
def get_context_data(self, **kwargs):
context = super(GuidesListView, self).get_context_data(**kwargs)
- context['archive_type'] = 'Guides'
+ context['archive_type'] = 'Field Tests'
return context
diff --git a/app/src/templates/src/srcpost_detail.html b/app/src/templates/src/srcpost_detail.html
index 2ad4e26..733f586 100644
--- a/app/src/templates/src/srcpost_detail.html
+++ b/app/src/templates/src/srcpost_detail.html
@@ -31,7 +31,7 @@
</li>
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<a href="/src/" itemprop="item">
- <span itemprop="name">Book Notes</span>
+ <span itemprop="name">Src</span>
</a>
<meta itemprop="position" content="2" />
</li>
diff --git a/config/base_urls.py b/config/base_urls.py
index ed73844..4c4e356 100644
--- a/config/base_urls.py
+++ b/config/base_urls.py
@@ -52,9 +52,9 @@ urlpatterns = [
path(r'locations/', include('locations.urls')),
path(r'expenses/', include('expenses.urls', namespace='expenses')),
path(r'photos/', include('photos.urls')),
- path(r'guide/', include('posts.guide_urls')),
- re_path(r'^guide/$', RedirectView.as_view(url='/guides/')),
- path(r'guides/', include('posts.guide_urls', namespace='guide-list')),
+ path(r'field-test/', include('posts.guide_urls')),
+ re_path(r'^field-test/$', RedirectView.as_view(url='/field-tests/')),
+ path(r'field-tests/', include('posts.guide_urls', namespace='guide-list')),
path(r'review/', include('posts.review_urls')),
re_path(r'^review/$', RedirectView.as_view(url='/guides/')),
path(r'essay/', include('posts.essay_urls')),
diff --git a/design/sass/_header.scss b/design/sass/_header.scss
index 445a0ad..f819d54 100644
--- a/design/sass/_header.scss
+++ b/design/sass/_header.scss
@@ -26,8 +26,8 @@
background-size: 95px;
background-size: 85px;
//if sox
- #background: url("img/soxlogo.svg") center top no-repeat;
- #background-size: 60px;
+ //background: url("img/soxlogo.svg") center top no-repeat;
+ //background-size: 60px;
display: block;
margin: 5px auto 0;
}
@@ -102,19 +102,19 @@
display: inline-block;
background-size: 102px;
//if sox
- #background: url("img/soxlogo.svg") center bottom no-repeat;
- #background-size: 70px;
+ //background: url("img/soxlogo.svg") center bottom no-repeat;
+ //background-size: 70px;
height: 85px;
width: 105px;
//if sox
- #width: 80px;
+ //width: 80px;
margin-right: 10px;
}
}
.sitesubtitle {
margin-left: 116px;
//if sox
- #margin-left: 90px;
+ //margin-left: 90px;
margin-top: -30px;
}
}
diff --git a/design/sass/_src.scss b/design/sass/_src.scss
index 3cdaa57..f627a49 100644
--- a/design/sass/_src.scss
+++ b/design/sass/_src.scss
@@ -56,9 +56,18 @@ pre{
}
ul li {
text-align: left;
- list-style-type: disc;
- margin-left: 1em;
- padding-left: .5em;
+ list-style: none;
+ margin-left: .5rem;
+ padding-left: .5rem;
+ font-size: 1.5rem;
+ }
+ ul li:before {
+ content:"ยท";
+ display: inline-block;
+ vertical-align: bottom;
+ font-size: 2.8rem;
+ margin-right: 1rem;
+ line-height: 2.8rem;
}
ol {
text-align: left;
@@ -79,21 +88,24 @@ pre{
max-width: 680px;
}
}
- p code {
+ p code, li code {
@include fontsize(20);
padding: 3px;
background: #eaeaea;
}
h3 {
- @include fontsize(22);
- margin: 3.5rem 0 0;
- letter-spacing: 1px;
- border-bottom: 1px #a19d9d dotted;
- text-transform: uppercase;
+ font-family: $fancy_serif;
+ @include fontsize(32);
+ margin: 3.5rem 0 1rem;
+ //letter-spacing: 1px;
+ //border-bottom: 1px #a19d9d dotted;
+ //text-transform: uppercase;
}
h5 {
- margin: 3rem 0 -1.5rem 0;
+ @include fontsize(22);
+ margin: 3rem 0 -.75rem 0;
text-transform: uppercase;
+ border-bottom: 1px #a19d9d dotted;
@include fancy_sans;
text-align: left;
}
diff --git a/design/sass/print.scss b/design/sass/print.scss
index f0f31a9..2a2bea5 100644
--- a/design/sass/print.scss
+++ b/design/sass/print.scss
@@ -2,11 +2,13 @@
@import "_mixins.scss";
body {
- @include fancy_sans;
+ font-family: $fancy_serif;
background: white;
color: black;
- font-size: 12pt;
- margin: 0 5%;
+ max-width: 660px;
+ font-size: 11pt;
+ margin: 0 auto;
+ line-height: 1.6;
}
.header-wrapper, #breadcrumbs, #page-navigation, .post-subtitle, .comment--form--wrapper, footer {
display: none;
@@ -28,12 +30,13 @@ pre {
p code {
padding: 0 .25cm;
}
-.post-body img {
- width: 100%;
- border: 5px solid #f7f5f5;
+.picwide img, .picfull img {
+ width: 80%;
+ margin: 0 auto;
+ filter: grayscale(100%);
}
.post-body p {
- font-size: 13pt;
+ font-size: 11pt;
}
.post-body h3 {
font-size: 19pt;
@@ -54,4 +57,33 @@ p code {
width: 2cm;
}
}
-
+main .post--body {
+ max-width: 660px;
+ margin: 0;
+}
+figure {
+ width: 100%;
+ margin: 0;
+}
+figcaption {
+ @include fancy_sans;
+ color: #999;
+ font-size: 9pt;
+ margin-top: 0;
+}
+.post-location {
+ @include fancy_sans;
+ color: #333;
+ font-size: 12pt;
+ a {
+ text-decoration: none;
+ display: none;
+ }
+ .region {
+ display: inline;
+ color: #333 !important;
+ }
+}
+.entry-footer, .article-afterward, .jslghtbx {
+ display: none;
+}
diff --git a/design/templates/lib/breadcrumbs_detail.html b/design/templates/lib/breadcrumbs_detail.html
new file mode 100644
index 0000000..170c53a
--- /dev/null
+++ b/design/templates/lib/breadcrumbs_detail.html
@@ -0,0 +1,14 @@
+<ol class="bl" id="breadcrumbs" itemscope itemtype="http://schema.org/BreadcrumbList">
+ <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
+ <a itemprop="item" href="/"><span itemprop="name">Home</span></a> &rarr;
+ <meta itemprop="position" content="1" />
+ </li>
+ {% for crumb in breadcrumbs %}<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">{% if forloop.last %}
+ <span itemprop="item">
+ <span itemprop="name" class="faint">{{crumb}}</span>
+ </span>
+ <meta itemprop="position" content="{{ forloop.counter|add:"+1"}}" />{%else%}
+ <a href="{{crumb_url}}" itemprop="item"><span itemprop="name">{{crumb}}</span></a> &rarr;
+ <meta itemprop="position" content="{{ forloop.counter|add:"+1" }}" />{% endif %}
+ </li>{%endfor%}
+ </ol>