6d4d7cc5712240f40e2ac4de49f47ff083dff55e — Andrew Zah 4 months ago e6fc2ca
webdev sucks wow
M content/talks/05-28-2019-wasm-rust-seoul/index.md => content/talks/05-28-2019-wasm-rust-seoul/index.md +2 -0
@@ 12,6 12,8 @@ summary = "A talk on what WebAssembly actually is, ways to use it in Rust, and a case study."
  keywords = "talk pdf presentation web assembly rust 2019 seoul what is web assembly"
  pdflink = "https://s3.amazonaws.com/andrewzah.com/talks/2019-05-28/ZahWebAssemblyRust-05-28-2019.pdf"
+ location = "Seoul Rust Meetup"
+ videolink = "yes"
  +++
  
  ```latex

M sass/_container.scss => sass/_container.scss +6 -1
@@ 6,13 6,18 @@ font-size: 15px;
    }
  
-   .page-date {
+   .page-meta-data {
      font-family: $serif-stack;
      margin-top: -.75rem;
+     margin-bottom: .75rem;
      font-size: 18px;
      display: block;
      color: $light_text;
      font-style: italic;
+ 
+     span {
+       color: $text;
+     }
    }
  
    hr {

M sass/_section.scss => sass/_section.scss +4 -0
@@ 17,6 17,10 @@ }
  
  .section-post {
+   @media (min-device-width: $large-screen) {
+     font-size: 1.65rem;
+   }
+ 
    h2 {
      font-size: 1.6em;
      margin-bottom: 0px;

M sass/_talks.scss => sass/_talks.scss +4 -0
@@ 1,3 1,7 @@ .container.talks {
    max-width: 845px;
+ 
+   .talk-buttons {
+     display: inline-block;
+   }
  }

M templates/macros.html => templates/macros.html +1 -1
@@ 7,7 7,7 @@ ×
        <span class="post-title">
          <a href="/{{section.components[0]}}/{{page.slug | safe}}/">
-           <td>{{ page.title }}</td>
+           <td class="page-title">{{ page.title }}</td>
          </a>
        </span>
        {% if page.extra.show_summary %}

M templates/talk.html => templates/talk.html +11 -5
@@ 13,13 13,19 @@ {% block main %}
    <div itemtype="http://schema.org/Article" class="container talks">
      <h1 itemprop="name">{{ page.title }}</h1>
-     <time itemprop="datePublished" content="{{ page.date | date(format="%Y-%m-%d")}}" datetime="{{ page.date }}" class="page-date">
-         {{ page.date | date(format="%b %d, %Y") }}
-         {% if page.extra.updated %} <time itemprop="dateModified" content={{ page.extra.updated }}>(updated on {{ page.extra.updated }})</time> {% endif %}
-     </time>
-     <div itemtype="PresentationDigitalDocument">
+     <div class="page-meta-data">
+       <time itemprop="datePublished" content="{{ page.date | date(format="%Y-%m-%d")}}" datetime="{{ page.date }}" >
+           {{ page.date | date(format="%b %d, %Y") }}
+           {% if page.extra.updated %} <time itemprop="dateModified" content={{ page.extra.updated }}>(updated on {{ page.extra.updated }})</time> {% endif %}
+       </time>
+       <span>– {{ page.extra.location }}</span>
+     </div>
+     <div class="talk-buttons" itemtype="PresentationDigitalDocument">
        <a class="button button-primary" href="{{page.extra.pdflink}}">Download PDF</a>
      </div>
+     {% if page.extra.videolink %}
+       <a class="button button-secondary" href="{{page.extra.videolink}}"> Watch Video </a>
+     {% endif %}
      <hr>
      <article itemprop="articleBody">
        <div id="email-me">