darkhack 1.0.9 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 158a8fec1524eb6690be1c8797ef4d0a6f9f291417d8db54e0de2ba6d494bbc4
4
- data.tar.gz: 040e1075abef98156e0baefc4ce6da43d26cc7df2c903dcb7077725bd9a7897f
3
+ metadata.gz: cc4ff05db75e43ac6be56d731f1a68565c238158dad8a75ba5960a2ad3091ded
4
+ data.tar.gz: 7d61ce34af8c89a65ffe15beed64e9485d42d4c1fe2fdefd79d4f28657f21cba
5
5
  SHA512:
6
- metadata.gz: 297559bc58532449d33431202ddc3a8fbd97c5f96b7675dd6f2e03d2931be230b4411ef3a51fffd8869c2185df93c7d3b46911a0e6e72c864fa6132ececb074f
7
- data.tar.gz: dfa9cacdb3ea7c277e13a4350af368cd85b48fa493183698f91d311d7964911bb26e0accc05853b40115c30756f4454938fbdec160c3e04cf1dcf943fd9b0f08
6
+ metadata.gz: 8246a086f982da57c4cc89c8f125af437c679b1559134bbd418d00b03a4c543417ff4a27312bd2f5982eae0aa888dada32c36b87feb07b77f6c739075912d90e
7
+ data.tar.gz: 78d2779c60f952c920b7a2a31515ee3ffcfbf4a48b0eb19fa7487c84338f115b254525bfa35841300b075f4a927fb907ceada5d3665e4e9d6b1db2bc057a86e2
data/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2021 Paul David
3
+ Copyright (c) 2022 Paul David
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/_config.yml CHANGED
@@ -1,8 +1,10 @@
1
- title: Dark Hacking Site
1
+ title: Dark Hacking Site
2
2
  author:
3
3
  name: root
4
4
  email: root@sudo.net
5
5
  twitter: daulpavid
6
+ mastodon_instance: infosec.exchange
7
+ mastodon_handle: daulpavid
6
8
  github: daulpavid
7
9
  linkedin: daulpavid
8
10
  description:
@@ -11,8 +13,8 @@ tagline:
11
13
  Hack the planet!
12
14
 
13
15
  darkhack:
14
- date_format:
15
- "%x"
16
+ date_format: "%x"
17
+ font_awesome: "357d91f838"
16
18
 
17
19
  theme: darkhack
18
20
 
@@ -3,15 +3,21 @@
3
3
  <ul>
4
4
  <li>$ socials: </li>
5
5
  {% if site.author.github != nil %}
6
- <li><a href="https://github.com/{{ site.author.github }}"
6
+ <li><a href="https://github.com/{{ site.author.github }}"
7
7
  class="fa fa-github-square"></a></li>
8
8
  {% endif %}
9
+ {% assign mastodon_instance = site.author.mastodon_instance %}
10
+ {% assign mastodon_handle = site.author.mastodon_handle %}
11
+ {% if mastodon_instance != nil and mastodon_handle != nil %}
12
+ <li><a href="https://{{ mastodon_instance }}/@{{ mastodon_handle }}"
13
+ class="fa-brands fa-mastodon"></a></li>
14
+ {% endif %}
9
15
  {% if site.author.twitter != nil %}
10
16
  <li><a href="https://twitter.com/{{ site.author.twitter }}"
11
17
  class="fa fa-twitter"></a></li>
12
18
  {% endif %}
13
19
  {% if site.author.linkedin != nil %}
14
- <li><a href="https://linkedin.com/in/{{ site.author.linkedin }}"
20
+ <li><a href="https://linkedin.com/in/{{ site.author.linkedin }}"
15
21
  class="fa fa-linkedin"></a></li>
16
22
  {% endif %}
17
23
  </ul>
data/_includes/head.html CHANGED
@@ -29,7 +29,7 @@
29
29
  </script>
30
30
  {% endif %}
31
31
  {% if page_type contains "mermaid" %}
32
- <script type="text/javascript"
32
+ <script type="text/javascript"
33
33
  src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js">
34
34
  </script>
35
35
  <script>
@@ -39,5 +39,8 @@
39
39
  });
40
40
  </script>
41
41
  {% endif %}
42
- <script src="https://kit.fontawesome.com/357d91f838.js" crossorigin="anonymous"></script>
42
+ {% assign font_awesome = site.darkhack.font_awesome %}
43
+ {% if font_awesome != nil %}
44
+ <script src="https://kit.fontawesome.com/{{ font_awesome }}.js" crossorigin="anonymous"></script>
45
+ {% endif %}
43
46
  </head>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: darkhack
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul David
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-01 00:00:00.000000000 Z
11
+ date: 2022-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll