darkhack 1.0.9 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 158a8fec1524eb6690be1c8797ef4d0a6f9f291417d8db54e0de2ba6d494bbc4
4
- data.tar.gz: 040e1075abef98156e0baefc4ce6da43d26cc7df2c903dcb7077725bd9a7897f
3
+ metadata.gz: 878d95ee9a38524bce84b3b72765823d883d17b22fe9c3c056570377fd8418e8
4
+ data.tar.gz: 5fe817442d43fdb1fd12a57ca58bee783837e54a79f0a03a6073c8ff1eb55f5d
5
5
  SHA512:
6
- metadata.gz: 297559bc58532449d33431202ddc3a8fbd97c5f96b7675dd6f2e03d2931be230b4411ef3a51fffd8869c2185df93c7d3b46911a0e6e72c864fa6132ececb074f
7
- data.tar.gz: dfa9cacdb3ea7c277e13a4350af368cd85b48fa493183698f91d311d7964911bb26e0accc05853b40115c30756f4454938fbdec160c3e04cf1dcf943fd9b0f08
6
+ metadata.gz: 288ecf0e27bc33391fc04b2e266c0d6b6f723207214a949336787d9564f17b638fbce363e42e7cd8171dca77ca8ca97186bde1c7a866eb890f3d3d47545271d5
7
+ data.tar.gz: c75b55e3a02f5a1d8a4f7142922ba0e4dabb7eb14e9a0d105ae888db11147b9ce55ef4694c17ae5363d54c86ff8e8beab05f228cfdefbff71edaf4b57ea799c6
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>
@@ -3,7 +3,7 @@
3
3
  .container {
4
4
  max-width: 50rem;
5
5
  margin-right: auto;
6
- margin-left: auto;
6
+ margin-left: auto;
7
7
  overflow: auto;
8
8
  }
9
9
 
@@ -11,9 +11,7 @@
11
11
  border-right: $border-style-content $border-thick;
12
12
  border-color: $border-color;
13
13
 
14
- margin-left: 0.5em;
15
- margin-top: 2em;
16
- margin-bottom: 2em;
14
+ margin: 0;
17
15
 
18
16
  padding-right: 1em;
19
17
 
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.1
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: 2023-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll