Parcourir la source

Merge pull request #1 from baysec/site-style

Site style changes & wording
main
John-Mark Gurney il y a 6 ans
committed by GitHub
Parent
révision
4bac1b4383
8 fichiers modifiés avec 15 ajouts et 59 suppressions
  1. +6
    -3
      content/index.html
  2. +1
    -0
      content/media/css/site.css
  3. +4
    -7
      content/meetups/2017-05-06-May.html
  4. +3
    -6
      gennext.sh
  5. +1
    -1
      layout/base.j2
  6. +0
    -27
      layout/blog.j2
  7. +0
    -12
      layout/listing.j2
  8. +0
    -3
      layout/macros.j2

+ 6
- 3
content/index.html Voir le fichier

@@ -1,10 +1,13 @@
---
title: BaySec
description: SF Bay Area Security Professionals Meetup
extends: listing.j2
default_block: test
listable: false
---
{% block page_title %}
BaySec is a meetup for security professionals that happens the third Tuesday of each month.
<p>
BaySec is the meetup for anyone interested in security and cryptography.
There's no sponsor, agenda, or talks, but feel free to buy a new friend a
drink. It's almost always on the third Tuesday of each month at
Patriot House in San Francisco.
</p>
{% endblock %}

+ 1
- 0
content/media/css/site.css Voir le fichier

@@ -30,6 +30,7 @@ h1, h2, h3, h4, h5, h6 {
}

h1 {
font-size: 150%;
margin-bottom: 1em;
}



+ 4
- 7
content/meetups/2017-05-06-May.html Voir le fichier

@@ -1,18 +1,15 @@
---
title: May 2017 Baysec
title: "Next BaySec: May 16th, 2017"
layout: patriothouse
event_summary: Baysec
event_timezone: America/Los_Angeles
event_start: 20170516T190000
event_end: 20170516T230000
event_location: Patriot House Pub
created: !!timestamp '2017-05-06 14:31:30'
created: !!timestamp '2017-05-06 14:30:26'
---

# May 16th, 2017

Baysec will be at the Patriot House Pub and starts at 7pm.

# Map to Patriot House Pub
Baysec will be at the Patriot House Pub in SF, starting at 7 pm and usually
ending some time after 10 pm.

<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3152.7895438057476!2d-122.40109834914308!3d37.794971618670836!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x80858061009fbe67%3A0xaca3e8d9f06b5f8e!2sPatriot+House+Pub!5e0!3m2!1sen!2sus!4v1483420387349" width="600" height="450" frameborder="0" style="border:0" allowfullscreen></iframe>

+ 3
- 6
gennext.sh Voir le fichier

@@ -31,7 +31,7 @@ esac

cat <<EOF > "$dir/$(date -j -r $gensecs +"%Y-%m-%d")-$(date -j -r $esecs +"%B").html"
---
title: $(date -j -r $esecs +"%B %Y") Baysec
title: "Next BaySec: $(date -j -r $esecs +'%B %e'$ending', %Y')"
layout: patriothouse
event_summary: Baysec
event_timezone: $TZ
@@ -41,11 +41,8 @@ event_location: Patriot House Pub
created: !!timestamp '$(date -j -r $gensecs +"%Y-%m-%d %H:%M:%S")'
---

# $(date -j -r $esecs +"%B %e$ending, %Y")

Baysec will be at the Patriot House Pub and starts at 7pm.

# Map to Patriot House Pub
Baysec will be at the Patriot House Pub in SF, starting at 7 pm and usually
ending some time after 10 pm.

<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3152.7895438057476!2d-122.40109834914308!3d37.794971618670836!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x80858061009fbe67%3A0xaca3e8d9f06b5f8e!2sPatriot+House+Pub!5e0!3m2!1sen!2sus!4v1483420387349" width="600" height="450" frameborder="0" style="border:0" allowfullscreen></iframe>
EOF

+ 1
- 1
layout/base.j2 Voir le fichier

@@ -66,7 +66,7 @@
<header class="banner clearfix title">
{% block header -%}
<h1><a href="/">BaySec</a></h1>
<h3>SF Bay Area Security Professional Meetup</h3>
<h3>San Francisco Security Meetup</h3>
{%- endblock %}
</header>
<section class="content">


+ 0
- 27
layout/blog.j2 Voir le fichier

@@ -2,34 +2,8 @@

{% block main -%}
<article class="post">
<nav class="post_nav">
<a class="backlink" href="/">Back to list</a>
<a class="next{{' disabled' if not resource.next_by_time }}"
title="{{ resource.next_by_time.meta.title }}"
{% if resource.next_by_time %}
href="{{ content_url(resource.next_by_time.url) }}"{% endif %}>
Previous</a>

<a class="prev{{' disabled' if not resource.prev_by_time }}"
title="{{ resource.prev_by_time.meta.title }}"
{% if resource.prev_by_time %}
href="{{ content_url(resource.prev_by_time.url) }}"{% endif %}>
Next</a>

<br>
<div id="twitter_share">
<a href="https://twitter.com/share"
class="twitter-share-button"
data-count="vertical"
data-via="{{ tweet_via }}">Tweet</a>
<script type="text/javascript"
src="https://platform.twitter.com/widgets.js"></script>
</div>
</nav>
<h1>{{ resource.meta.title }}</h1>
<time datetime="{{ resource.meta.created.strftime('%Y-%m-%d') }}">
Posted: {{ resource.meta.created.strftime('%a, %d %b %Y') }}
</time>

{% if resource.meta.tags %}
<ul class="tags clear">
@@ -43,7 +17,6 @@
</ul>
{% endif %}
<div class="clear"/>
<br/>
{% filter markdown|typogrify -%}
{% mark post -%}
{% block post -%}{%- endblock %}


+ 0
- 12
layout/listing.j2 Voir le fichier

@@ -3,21 +3,9 @@
{% block main %}
{% block page_title %}<h1 class="title">{{ resource.meta.title }}</h1>{% endblock %}

<br/>
<br/>
<h2>Next Baysec Event</h2>
<h2> {% for res in resource.node.walk_resources_sorted_by_time()[0:1] %}
{{ render_link(res) }}
{% endfor %}
</h2>

<br/>
<h2>Previous Baysec Events</h2>
<ul class="posts">
{% for res in resource.node.walk_resources_sorted_by_time()[1:] %}
<li>
{{ render_link(res) }}
</li>
{% endfor %}
</ul>
{% endblock %}

+ 0
- 3
layout/macros.j2 Voir le fichier

@@ -9,9 +9,6 @@
<h3><a href="{{ content_url(res.url) }}">{{ res.meta.title }}</a></h3>
<a href="{{ content_url(res.url) }}">{{ post.image|markdown|typogrify }}</a>
{{ post.excerpt|markdown|typogrify }}
<time datetime="{{ res.meta.created.strftime('%Y-%m-%d') }}">
Posted: {{ res.meta.created.strftime('%a, %d %b %Y') }}
</time>
</article>
{% endmacro %}



Chargement…
Annuler
Enregistrer