forked from barryclark/jekyll-now
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathindex.html
More file actions
52 lines (48 loc) · 3.41 KB
/
Copy pathindex.html
File metadata and controls
52 lines (48 loc) · 3.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
layout: default
title:
---
<section class="topic-strip" id="topics" aria-label="Topics covered">
<div class="shell">
<span class="strip-label">Browse by topic</span>
<div class="topic-buttons" role="group" aria-label="Filter analyses by topic">
<button class="filter topic-filter active" type="button" data-filter="all" aria-pressed="true">All</button>
<button class="filter topic-filter" type="button" data-filter="society" aria-pressed="false">Society</button>
<button class="filter topic-filter" type="button" data-filter="health" aria-pressed="false">Health</button>
<button class="filter topic-filter" type="button" data-filter="education" aria-pressed="false">Education</button>
<button class="filter topic-filter" type="button" data-filter="relationships" aria-pressed="false">Relationships</button>
<button class="filter topic-filter" type="button" data-filter="culture" aria-pressed="false">Culture</button>
<button class="filter topic-filter" type="button" data-filter="authors-choice" aria-pressed="false">Author's Choice</button>
</div>
</div>
</section>
<section class="archive shell" id="analyses">
<div class="section-heading">
<div><h2>Ideas, investigated.</h2><p>Every analysis starts with a question and follows the data wherever it leads.</p></div>
<div class="archive-count"><strong id="result-count">{{ site.posts | size }}</strong><span>analyses</span></div>
</div>
<div class="archive-tools">
<label class="search-field"><span aria-hidden="true">⌕</span><span class="sr-only">Search analyses</span><input id="archive-search" type="search" placeholder='search by keyword or idea (e.g. "probability" or "dating")' autocomplete="off"><kbd>⌘ K</kbd></label>
</div>
<div class="post-grid" id="post-grid">
{% for post in site.posts %}
<article class="post-card" data-category="{{ post.category | downcase }}" data-authors-choice="{{ post.authors_choice | default: false }}" data-search="{{ post.title | strip_html | downcase }} {{ post.category | downcase }} {{ post.summary | downcase }} {{ post.search_terms | downcase }}">
<a class="card-image" href="{{ site.baseurl }}{{ post.url }}"><img src="{{ post.image }}" alt="" loading="lazy"><span>{{ post.category | default: 'Analysis' }}</span></a>
<div class="card-body">
<div class="card-meta"><time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: '%b %Y' }}</time><span>{{ post.content | number_of_words | divided_by: 220 | plus: 1 }} min read</span></div>
<h3><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h3>
<p>{{ post.summary }}</p>
<a class="card-link" href="{{ site.baseurl }}{{ post.url }}" aria-label="Read {{ post.title }}">Read the analysis <span>↗</span></a>
</div>
</article>
{% endfor %}
</div>
<p class="no-results" id="no-results" hidden>No analyses matched that search. Try another phrase or topic.</p>
</section>
<section class="about-band" id="about">
<div class="shell about-band-grid">
<p class="eyebrow"><span></span> About</p>
<blockquote>“The world is full of deep questions that can be answered with the right data and a curious mind.”</blockquote>
<div><p>I started this blog as a way to see how far we could go by applying data science techniques to the right datasets. It's a collection of my findings, insights, and learnings along the way.</p></div>
</div>
</section>