Skip to content

Commit 226a12e

Browse files
[setup](web): create directories (#187)
* [setup](web): create directories Signed-off-by: Ralph Hightower <[email protected]> * [setup](build): create directories Signed-off-by: Ralph Hightower <[email protected]> * [setup](build): create directories Signed-off-by: Ralph Hightower <[email protected]> * [setup](build): create directories docs Signed-off-by: Ralph Hightower <[email protected]> * [setup](build): create directories Signed-off-by: Ralph Hightower <[email protected]> * [setup](build): create directories Signed-off-by: Ralph Hightower <[email protected]> * [setup](build): create directories Signed-off-by: Ralph Hightower <[email protected]> * [setup](build): create directories Signed-off-by: Ralph Hightower <[email protected]> * Fix file path formatting in _data.md Signed-off-by: Ralph Hightower <[email protected]> * [setup](build): Jekyll(minima files) Signed-off-by: Ralph Hightower <[email protected]> * [setup](build): Jekyll(minima files) Signed-off-by: Ralph Hightower <[email protected]> * [setup](build): Jekyll(minima files) Signed-off-by: Ralph Hightower <[email protected]> * [setup](build): Jekyll(minima files) Signed-off-by: Ralph Hightower <[email protected]> * [setup](build): Jekyll(minima files) Signed-off-by: Ralph Hightower <[email protected]> * [setup](build): Google Analytics Signed-off-by: Ralph Hightower <[email protected]> --------- Signed-off-by: Ralph Hightower <[email protected]>
1 parent 2778cd1 commit 226a12e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+1685
-0
lines changed

_data/._data.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_data/

_includes/._includes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_includes

_includes/custom-head.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{% comment %}
2+
Placeholder to allow defining custom head, in principle, you can add anything here, e.g. favicons:
3+
4+
1. Head over to https://realfavicongenerator.net/ to add your own favicons.
5+
2. Customize default _includes/custom-head.html in your source directory and insert the given code snippet.
6+
Expires: Thu, 01 Dec 1994 16:00:00 GMT
7+
%a, %d %b %Y %T %Z
8+
{% endcomment %}
9+
10+
<link rel="preload" href="Mona-Sans.woff2" as="font" type="font/woff2" crossorigin />
11+
<link rel="preload" href="Hubot-Sans.woff2" as="font" type="font/woff2" crossorigin />

_includes/disqus_comments.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{%- if page.comments != false and jekyll.environment == "production" -%}
2+
3+
<div id="disqus_thread"></div>
4+
<script>
5+
var disqus_config = function () {
6+
this.page.url = '{{ absolute_url }}';
7+
this.page.identifier = '{{ page.url | absolute_url }}';
8+
};
9+
10+
(function() {
11+
var d = document, s = d.createElement('script');
12+
13+
s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
14+
15+
s.setAttribute('data-timestamp', +new Date());
16+
(d.head || d.body).appendChild(s);
17+
})();
18+
</script>
19+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
20+
{%- endif -%}

_includes/footer.html

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<footer class="site-footer h-card">
2+
<data class="u-url" href="{{ "/" | relative_url }}"></data>
3+
4+
<div class="wrapper">
5+
6+
<div class="footer-col-wrapper">
7+
<div class="footer-col">
8+
<p class="feed-subscribe">
9+
<a href="{{ site.feed.path | default: 'feed.xml' | absolute_url }}">
10+
<svg class="svg-icon orange">
11+
<use xlink:href="{{ 'assets/minima-social-icons.svg#rss' | relative_url }}"></use>
12+
</svg><span>Subscribe</span>
13+
</a>
14+
</p>
15+
{%- if site.author %}
16+
<ul class="contact-list">
17+
{% if site.author.name -%}
18+
<li class="p-name">{{ site.author.name | escape }}</li>
19+
{% endif -%}
20+
{% if site.author.email -%}
21+
<li><a class="u-email" href="mailto:{{ site.author.email }}">{{ site.author.email }}</a></li>
22+
{%- endif %}
23+
</ul>
24+
{{ site.author }}
25+
{%- endif %}
26+
</div>
27+
<div class="footer-col">
28+
<p>{{ site.description | escape }}</p>
29+
</div>
30+
</div>
31+
32+
<div class="wrapper">
33+
Email Marketing: There are two types of marketing by emails <br />1) Permission based marketing: Send an introductory email asking for permission to send email marketing. If I respond "Okay", then you may proceed.<br />2) Forgiveness based marketing: Spammer just goes ahead and blasts me with spam, offering a link to unsubscribe. Why is it my responsibility to unsubscribe from emails that I never subscribed to?<br />Don't be a jerk. Don't assume that your email "got lost". I received it. It's just a waste of my time to respond. I never buy spammed products.
34+
</div>
35+
36+
<div class="social-links">
37+
{%- include social.html -%}
38+
</div>
39+
40+
</div>
41+
42+
</footer>

_includes/google-analytics.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<!-- Google tag (gtag.js) -->
2+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-85H5KTD9CM"></script>
3+
<script>
4+
window.dataLayer = window.dataLayer || [];
5+
function gtag(){dataLayer.push(arguments);}
6+
gtag('js', new Date());
7+
8+
gtag('config', 'G-85H5KTD9CM');
9+
</script>

_includes/head.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<head>
2+
<meta charset="utf-8">
3+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4+
<meta name="viewport" content="width=device-width, initial-scale=1">
5+
{%- seo -%}
6+
<link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
7+
{%- feed_meta -%}
8+
{%- if jekyll.environment == 'production' and site.google_analytics -%}
9+
{%- include google-analytics.html -%}
10+
{%- endif -%}
11+
12+
{%- include custom-head.html -%}
13+
14+
</head>

_includes/header.html

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<header class="site-header">
2+
3+
<div class="wrapper">
4+
{%- assign default_paths = site.pages | map: "path" -%}
5+
{%- assign page_paths = site.header_pages | default: default_paths -%}
6+
{%- assign titles_size = site.pages | map: 'title' | join: '' | size -%}
7+
<a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
8+
9+
{%- if titles_size > 0 -%}
10+
<nav class="site-nav">
11+
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
12+
<label for="nav-trigger">
13+
<span class="menu-icon">
14+
<svg viewBox="0 0 18 15" width="18px" height="15px">
15+
<path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
16+
</svg>
17+
</span>
18+
</label>
19+
20+
<div class="trigger">
21+
{%- for path in page_paths -%}
22+
{%- assign my_page = site.pages | where: "path", path | first -%}
23+
{%- if my_page.title -%}
24+
<a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
25+
{%- endif -%}
26+
<! "home" is the value for blog lists, "page" for non-blog pages !>
27+
{%- if my_page.layout == "home" -%}
28+
{%- break -%}
29+
{%- endif -%}
30+
{%- endfor -%}
31+
</div>
32+
</nav>
33+
{%- endif -%}
34+
</div>
35+
</header>

_includes/social-icons/bluesky.svg

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 11 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)