Skip to content

Commit 6d7b36f

Browse files
committed
Wordcount w Spark and trying to include Slack link
1 parent e78299e commit 6d7b36f

File tree

7 files changed

+349
-68
lines changed

7 files changed

+349
-68
lines changed

_config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,14 @@
1414
# You can create any custom variable you would like, and they will be accessible
1515
# in the templates via {{ site.myvariable }}.
1616
title: Bigdata-Vandy Blog
17-
17+
email:
1818
description: > # this means to ignore newlines until "baseurl:"
1919
The Big Data blog for ACCRE at Vanderbilt University.
2020
baseurl: "" # the subpath of your site, e.g. /blog
2121
url: "" # the base hostname & protocol for your site, e.g. http://example.com
2222
twitter_username: ACCREVandy
2323
github_username: bigdata-vandy
24+
slack_channel:
2425

2526
# Build settings
2627
markdown: kramdown

_drafts/wordcount-on-the-cluster-with-spark.md

Lines changed: 0 additions & 66 deletions
This file was deleted.

_includes/footer.html

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<footer class="site-footer">
2+
3+
<div class="wrapper">
4+
5+
<h2 class="footer-heading">{{ site.title | escape }}</h2>
6+
7+
<div class="footer-col-wrapper">
8+
<div class="footer-col footer-col-1">
9+
<ul class="contact-list">
10+
<li>
11+
{% if site.author %}
12+
{{ site.author | escape }}
13+
{% else %}
14+
{{ site.title | escape }}
15+
{% endif %}
16+
</li>
17+
{% if site.email %}
18+
<li><a href="mailto:{{ site.email }}">{{ site.email }}</a></li>
19+
{% endif %}
20+
</ul>
21+
</div>
22+
23+
<div class="footer-col footer-col-2">
24+
<ul class="social-media-list">
25+
{% if site.github_username %}
26+
<li>
27+
{% include icon-github.html username=site.github_username %}
28+
</li>
29+
{% endif %}
30+
31+
{% if site.twitter_username %}
32+
<li>
33+
{% include icon-twitter.html username=site.twitter_username %}
34+
</li>
35+
{% endif %}
36+
37+
{% if site.slack_channel %}
38+
<li>
39+
{% include icon-slack.html username=site.slack_channel %}
40+
</li>
41+
{% endif %}
42+
</ul>
43+
</div>
44+
45+
<div class="footer-col footer-col-3">
46+
<p>{{ site.description | escape }}</p>
47+
</div>
48+
</div>
49+
50+
</div>
51+
52+
</footer>

_includes/icon-slack.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<a href="https://accre-forum.slack.com/archives/bigdata"><span class="icon icon--slack">{% include icon-slack.svg %}</span><span class="username">{{ include.username }}</span></a>

_includes/icon-slack.svg

Lines changed: 31 additions & 0 deletions
Loading

_layouts/default.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
33

44
{% include head.html %}
5-
5+
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
6+
67
<body>
78

89
{% include header.html %}

0 commit comments

Comments
 (0)