Portfolio
parent
323ca17045
commit
ab11888320
|
@ -82,8 +82,9 @@
|
|||
<section class="module hire">
|
||||
<h1>Hire me</h1>
|
||||
<p>
|
||||
I'm available for select freelance projects.
|
||||
<a href="mailto:nick@nicksergeant.com">Email me</a>.
|
||||
I'm available for select freelance<br />
|
||||
projects. View my <a href="/portfolio/">work</a>, then<br />
|
||||
<a href="mailto:nick@nicksergeant.com">email me</a>.
|
||||
</p>
|
||||
</section>
|
||||
<section class="module projects">
|
||||
|
|
|
@ -1,19 +1,21 @@
|
|||
{% load snipt_tags typogrify_tags %}
|
||||
|
||||
<article class="group {% if detail %}detail{% endif %}">
|
||||
<div class="gutter">
|
||||
<a href="{{ snipt.get_full_absolute_url }}" {% if detail %}class="detail"{% endif %}>
|
||||
<time pubdate datetime="{{ snipt.publish_date|date:'c' }}">
|
||||
<span class="id">
|
||||
#{{ snipt.id }}
|
||||
</span>
|
||||
<span class="mon-day">
|
||||
{{ snipt.publish_date|date:'M' }} {{ snipt.publish_date|date:'j' }}
|
||||
</span>
|
||||
<span class="year">{{ snipt.publish_date|date:'Y' }}</span>
|
||||
</time>
|
||||
</a>
|
||||
</div>
|
||||
{% if snipt.title != 'Portfolio' %}
|
||||
<div class="gutter">
|
||||
<a href="{{ snipt.get_full_absolute_url }}" {% if detail %}class="detail"{% endif %}>
|
||||
<time pubdate datetime="{{ snipt.publish_date|date:'c' }}">
|
||||
<span class="id">
|
||||
#{{ snipt.id }}
|
||||
</span>
|
||||
<span class="mon-day">
|
||||
{{ snipt.publish_date|date:'M' }} {{ snipt.publish_date|date:'j' }}
|
||||
</span>
|
||||
<span class="year">{{ snipt.publish_date|date:'Y' }}</span>
|
||||
</time>
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="content-inner">
|
||||
<h1><a href="{{ snipt.get_full_absolute_url }}">{% firstof snipt.title|typogrify 'Untitled' %}</a></h1>
|
||||
<div class="post-content autumn">
|
||||
|
|
|
@ -17,7 +17,7 @@ def blog_list(request, username_or_custom_slug=None):
|
|||
blog_post=True,
|
||||
public=True,
|
||||
publish_date__lte=datetime.datetime.now()
|
||||
).order_by('-publish_date').exclude(title__iexact='Homepage')
|
||||
).order_by('-publish_date').exclude(title__iexact='Homepage').exclude(title__iexact='Portfolio')
|
||||
|
||||
normal_snipts = Snipt.objects.filter(blog_post=False, user=request.blog_user, public=True).order_by('-created')
|
||||
normal_snipts = normal_snipts.exclude(title__in=[''])
|
||||
|
|
Loading…
Reference in New Issue