Skip to content
This repository has been archived by the owner on Jul 21, 2019. It is now read-only.

Updates and additions to footer content. #262

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 40 additions & 27 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,30 @@
<div class="row">
<div class="col-md-2">
</div>

<div class="col-md-2">
<h3 class="footer-nav">Events</h3></br>
PAST</br>
CURRENT</br>
UPCOMING</br>
</div>
<div class="col-md-2">
<h3 class="footer-nav">FEATURED</h3>
<b>Chicago 2017</b>
<i>Summit West - 15 October 2017</i>
<h3 class="footer-nav">@DEVOPSDAYS</h3>
<div>
<a class="twitter-timeline" data-dnt="true" href="https://twitter.com/devopsdays/lists/devopsdays" data-chrome="noheader" height="440"></a>

<script>
! function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0],
p = /^http:/.test(d.location) ? 'http' : 'https';
if (!d.getElementById(id)) {
js = d.createElement(s);
js.id = id;
js.src = p + "://platform.twitter.com/widgets.js";
fjs.parentNode.insertBefore(js, fjs);
}
}(document, "script", "twitter-wjs");
</script>
</div>
</div>

<div class="col-md-2">
<h3 class="footer-nav">BLOG</h3>
{{- range first 1 (where .Site.Pages "Type" "blog") -}}
{{- range first 2 (where .Site.Pages "Type" "blog") -}}
<a href = "{{ .Permalink }}"><h1 class = "footer-heading">{{ .Title }}</h1></a>
{{- if isset .Params "author" -}}
<h2 class="footer-heading">by {{ .Params.author }} - {{ dateFormat "02 January, 2006" .Date }}</h2>
Expand All @@ -32,27 +42,30 @@ <h2 class="footer-heading">{{ dateFormat "02 January, 2006" .Date }}</h2>
{{ end }}
</p>
{{- end -}}

<a href="https://www.devopsdays.org/blog/index.xml">Feed</a>
</div>

<div class="col-md-2">
<h3 class="footer-nav">@DEVOPSDAYS</h3>
<div>
<a class="twitter-timeline" data-dnt="true" href="https://twitter.com/devopsdays/lists/devopsdays" data-chrome="noheader" height="440"></a>
<h3 class="footer-nav">CFP OPEN</h3>
{{ range sort $.Site.Data.events "startdate" }}
{{ if .cfp_date_end }}
{{ if ge (dateFormat "2006-01-02" .cfp_date_end) (dateFormat "2006-01-02" ($.Now.Format "2006-01-02")) }}
<a href = "/events/{{ .name }}/">{{ .city }}</a><br />
{{ end }} {{/* end: date is now or afterwards */}}
{{ end }} {{/* end: if .cfp_date_end */}}
{{ end }} {{/* end: range sort $.Site.Data.events "startdate" */}}
<br />Propose a talk at an event near you!<br />
</div>

<script>
! function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0],
p = /^http:/.test(d.location) ? 'http' : 'https';
if (!d.getElementById(id)) {
js = d.createElement(s);
js.id = id;
js.src = p + "://platform.twitter.com/widgets.js";
fjs.parentNode.insertBefore(js, fjs);
}
}(document, "script", "twitter-wjs");
</script>
</div>
<div class="col-md-2">
<h3 class="footer-nav">About</h3>
devopsdays is a worldwide community conference series for anyone interested in IT improvement.<br /><br />
<a href="/about/">About devopsdays</a><br />
<a href="/privacy/">Privacy Policy</a><br />
<a href="/conduct/">Code of Conduct</a>
</div>


<!-- <div class="col-md-2 hidden-sm">

</div> -->
Expand Down