diff --git a/content/index.html b/content/index.html index f5af77c..d68d8bc 100644 --- a/content/index.html +++ b/content/index.html @@ -2,6 +2,8 @@ title: BaySec description: San Francisco Security Meetup Information Page extends: listing.j2 +image: /media/images/embarcadero.jpg +imagealt: Embarcadero Center at night lit up, with water and a ferry in front default_block: test listable: false --- diff --git a/content/media/images/embarcadero.jpg b/content/media/images/embarcadero.jpg new file mode 100644 index 0000000..2312c18 Binary files /dev/null and b/content/media/images/embarcadero.jpg differ diff --git a/gennext.sh b/gennext.sh index c25bc02..c154f12 100644 --- a/gennext.sh +++ b/gennext.sh @@ -32,6 +32,10 @@ esac cat < "$dir/$(date -j -r $gensecs +"%Y-%m-%d")-$(date -j -r $esecs +"%B").html" --- title: "Next BaySec: $(date -j -r $esecs +'%B %e'$ending', %Y')" +twittertitle: BaySec - $(date -j -r $esecs +'%B %e'$ending', %Y') +description: Baysec will be at the Patriot House Pub in SF, starting at 7 pm and usually ending some time after 10 pm. +twitterlabel1: Event +twitterdata1: $(date -j -r $esecs +'%B %e'$ending', %Y') layout: patriothouse event_summary: Baysec event_timezone: $TZ diff --git a/layout/base.j2 b/layout/base.j2 index 7d3db89..a52a7b6 100644 --- a/layout/base.j2 +++ b/layout/base.j2 @@ -20,6 +20,21 @@ compatibility mode is within the first 1K bytes code.google.com/p/chromium/issues/detail?id=23003 --> + + +{% if resource.meta.twittertitle %} + +{% else %} + +{% endif %} + +{% if resource.meta.image %} {% endif %} +{% if resource.meta.imagealt %} {% endif %} +{% if resource.meta.twitterlabel1 %} {% endif %} +{% if resource.meta.twitterlabel2 %} {% endif %} +{% if resource.meta.twitterdata1 %} {% endif %} +{% if resource.meta.twitterdata2 %} {% endif %} + {% block title %}{{ resource.meta.title }}{% endblock %}