-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
111 lines (94 loc) · 5.06 KB
/
index.html
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
---
layout: default
---
<div class="teaserimage">
<div class="teaserimage-image" {% if site.cover %}style="background-image: url({{ site.cover | prepend: site.baseurl }})"{% endif %}>
Teaser Image
</div>
</div>
<header class="blog-header">
{% if site.logo %}
<a class="blog-logo" href="{{site.url}}{{site.baseurl}}" style="background-image: url('{{ site.logo | prepend: site.baseurl }}')">{{ site.title }}</a>
{% endif %}
<h1 class="blog-title">{{ site.title }}</h1>
<h2 class="blog-description">{{ site.description }}</h2>
<div class="custom-links">
<a href={{ "/what-is-consent/" | prepend: site.baseurl }}>What is consent?</a> -
<a href={{ "/about/" | prepend: site.baseurl }}>About</a> -
<a href={{ "/consulting/" | prepend: site.baseurl }}>Consulting</a> -
<a href={{ "/resources/" | prepend: site.baseurl }}> Resources</a> -
<a href={{ "/pledge/" | prepend: site.baseurl }}> Sign The Pledge</a> -
<a href="https://medium.com/consensual-software" target="_new"> Read on Medium</a>
<br>
{% for social in site.social %}
{% if social.url %}
<a class="icon-{{ social.icon }}" href="{{ social.url }}" target="_new" {% if social.desc %} title="{{ social.desc }}"{% endif %}">
<i class="fa fa-{{ social.icon }}"></i>
</a>
{% endif %}
{% endfor %}
</div>
</header>
<main class="content" role="main">
<p>This is an <a href="https://github.com/consensualsoftware/consensual_software">open source project</a> advocating for better user consent in software design.</p>
<p>Consent is most often discussed in terms of sex. "No means no" is a popular way to teach young people about inappropriate forms of sexual content.</p>
<p>However, we believe that consent is much more nuanced and goes beyond sex. Explicit, informed consent should be applied to every aspect of our daily lives.</p>
<p>Read more about consent <a href="/what-is-consent">here</a>.
<p>Looking for a more in-depth review of your company's product? We're available for <a href="/consulting">consulting</a>.
{% if site.tags.featured %}
<h5 class="index-headline featured"><span>Featured</span></h5>
<div class="container featured">
{% for post in site.tags.featured %}
<article class="post" itemscope itemtype="http://schema.org/BlogPosting" role="article">
<div class="article-item">
<header class="post-header">
<h2 class="post-title" itemprop="name"><a href="{{ post.url | prepend: site.baseurl }}" itemprop="url">{{ post.title }}</a></h2>
</header>
<section class="post-excerpt" itemprop="description">
<p>{{ post.content | strip_html | truncatewords: 50 }}</p>
</section>
<div class="post-meta">
<time datetime="{{ post.date | date_to_long_string }}">{{ post.date | date_to_long_string }}</time>
<!-- <span class="post-tags-set">on {{#foreach tags}}<span class="post-tag-{{slug}}">{{#if @first}}{{else}}, {{/if}}<a href="/tag/{{slug}}">{{name}}</a></span>{{/foreach}}</span>-->
</div>
</div>
</article>
{% endfor %}
</div>
<h5 class="index-headline normal"><span>Regular</span></h5>
{% endif %}
<div class="cf frame">
{% for post in paginator.posts %}
<article class="post" itemscope itemtype="http://schema.org/BlogPosting" role="article">
<div class="article-item">
<header class="post-header">
<h2 class="post-title" itemprop="name"><a href="{{ post.url | prepend: site.baseurl }}" itemprop="url">{{ post.title }}</a></h2>
</header>
<section class="post-excerpt" itemprop="description">
<p>{{ post.excerpt | strip_html | truncatewords: 50 }}</p>
</section>
<div class="post-meta">
<time datetime="{{ post.date | date_to_long_string }}">{{ post.date | date_to_long_string }}</time>
<!-- <span class="post-tags-set">on {{#foreach tags}}<span class="post-tag-{{slug}}">{{#if @first}}{{else}}, {{/if}}<a href="/tag/{{slug}}">{{name}}</a></span>{{/foreach}}</span>-->
</div>
</div>
</article>
{% endfor %}
</div>
<nav class="pagination" role="navigation">
{% if paginator.next_page %}
<a class="newer-posts" href={{ "/page" | prepend: site.baseurl | append: paginator.next_page }}>← Older posts</a>
{% endif %}
<span class="page-number">Page {{ paginator.page }} of {{ paginator.total_pages }}</span>
{% if paginator.previous_page %}
{% if paginator.page == 2 %}
<a class="older-posts" href={{ "/" | prepend: site.baseurl }}>Newer posts →</a>
{% else %}
<a class="older-posts" href={{ "/page" | prepend: site.baseurl | append: paginator.previous_page }}>Newer posts →</a>
{% endif %}
{% endif %}
</nav>
<!-- {{!! After all the posts, we have the previous/next pagination links }}
{{pagination}} -->
</main>