Skip to content

Commit 4eff582

Browse files
committed
Adding Setup
1 parent 79e3aec commit 4eff582

File tree

5 files changed

+87
-15
lines changed

5 files changed

+87
-15
lines changed

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ keybase-in-footer: false
245245
pages_list:
246246
About: 'about'
247247
Blog: 'latest-post'
248+
Setup: 'setup-preview'
248249
Timeline: 'timeline'
249250
Contact: 'contact'
250251

_includes/setup-preview.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
<!-- Setup Preview Start -->
3+
4+
<section id="{{ page.section-type }}" class="container content-section text-center">
5+
<div class="row">
6+
<div class="col-md-10 col-md-offset-1">
7+
8+
{{ page.content | markdownify }}
9+
10+
{% assign setup_post = site.posts.first %}
11+
<h4> Want to see my gear? </h4>
12+
13+
<section class="text-justify">
14+
{{ post.content | strip_html | markdownify | truncatewords: site.post-preview-words }}
15+
</section>
16+
<h4><a href="{{site.baseurl}}/setup/">View My Setup</a></h4>
17+
</div>
18+
</div>
19+
</section>
20+
21+
<!-- Setup Preview End -->
22+

_layouts/setup.html

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
2+
<!-- Setup Layout Start -->
3+
4+
<!DOCTYPE html>
5+
<html lang="{{ site.lang }}">
6+
7+
{% include head.html %}
8+
9+
<body>
10+
11+
{% include navigation.html %}
12+
13+
<section id="page" class="container content-section text-center">
14+
15+
<div class="row">
16+
<div class="col-md-10 col-md-offset-1 col-xs-10 col-xs-offset-1">
17+
18+
{{ page.content | markdownify }}
19+
20+
<div>
21+
{% for post in paginator.posts %}
22+
{% include post-list.html%}
23+
{% endfor %}
24+
</div>
25+
26+
{% include pagination.html %}
27+
28+
</div>
29+
</div>
30+
</section>
31+
32+
{% include footer.html %}
33+
34+
{% include js.html %}
35+
36+
</body>
37+
</html>
38+
39+
<!-- Setup Layout End -->
40+

contact.html

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@
66
## Contact
77

88
Feel free to reach out to me on any of the linked platforms below!
9-
<!-- Cal inline embed code begins -->
10-
<div style="width:100%;height:100%;overflow:scroll" id="my-cal-inline"></div>
11-
<script type="text/javascript">
12-
(function (C, A, L) { let p = function (a, ar) { a.q.push(ar); }; let d = C.document; C.Cal = C.Cal || function () { let cal = C.Cal; let ar = arguments; if (!cal.loaded) { cal.ns = {}; cal.q = cal.q || []; d.head.appendChild(d.createElement("script")).src = A; cal.loaded = true; } if (ar[0] === L) { const api = function () { p(api, arguments); }; const namespace = ar[1]; api.q = api.q || []; typeof namespace === "string" ? (cal.ns[namespace] = api) && p(api, ar) : p(cal, ar); return; } p(cal, ar); }; })(window, "https://app.cal.com/embed/embed.js", "init");
13-
Cal("init", {origin:"https://cal.com"});
14-
15-
Cal("inline", {
16-
elementOrSelector:"#booking",
17-
calLink: "techdufus",
18-
layout: "month_view"
19-
});
20-
21-
Cal("ui", {"theme":"dark","styles":{"branding":{"brandColor":"#000000"}},"hideEventTypeDetails":false,"layout":"month_view"});
22-
</script>
23-
<!-- Cal inline embed code ends -->
9+
<!-- <!-- Cal inline embed code begins --> -->
10+
<!-- <div style="width:100%;height:100%;overflow:scroll" id="my-cal-inline"></div> -->
11+
<!-- <script type="text/javascript"> -->
12+
<!-- (function (C, A, L) { let p = function (a, ar) { a.q.push(ar); }; let d = C.document; C.Cal = C.Cal || function () { let cal = C.Cal; let ar = arguments; if (!cal.loaded) { cal.ns = {}; cal.q = cal.q || []; d.head.appendChild(d.createElement("script")).src = A; cal.loaded = true; } if (ar[0] === L) { const api = function () { p(api, arguments); }; const namespace = ar[1]; api.q = api.q || []; typeof namespace === "string" ? (cal.ns[namespace] = api) && p(api, ar) : p(cal, ar); return; } p(cal, ar); }; })(window, "https://app.cal.com/embed/embed.js", "init"); -->
13+
<!-- Cal("init", {origin:"https://cal.com"}); -->
14+
<!---->
15+
<!-- Cal("inline", { -->
16+
<!-- elementOrSelector:"#booking", -->
17+
<!-- calLink: "techdufus", -->
18+
<!-- layout: "month_view" -->
19+
<!-- }); -->
20+
<!---->
21+
<!-- Cal("ui", {"theme":"dark","styles":{"branding":{"brandColor":"#000000"}},"hideEventTypeDetails":false,"layout":"month_view"}); -->
22+
<!-- </script> -->
23+
<!-- <!-- Cal inline embed code ends --> -->

setup/index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
layout: setup
3+
section-type: setup
4+
title: Setup
5+
sitemap:
6+
priority: 1.0
7+
---
8+
## Setup
9+

0 commit comments

Comments
 (0)