Skip to content

Commit 9c37be8

Browse files
committed
se agrego estilo de tokio y mejora de readme, ademas de actualizar las dependencias
1 parent 586f9ca commit 9c37be8

62 files changed

Lines changed: 2540 additions & 13 deletions

Some content is hidden

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

Gemfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22

33
source "https://rubygems.org"
44

5-
gem "jekyll-theme-chirpy", "~> 6.5", ">= 6.5.2"
5+
gem 'jekyll-theme-chirpy', '~> 7.3'
66

77
group :test do
8-
gem "html-proofer", "~> 4.4"
8+
gem 'html-proofer', '~> 5.0', '>= 5.0.10'
99
end
1010

1111
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
1212
# and associated library.
13-
platforms :mingw, :x64_mingw, :mswin, :jruby do
14-
gem "tzinfo", ">= 1", "< 3"
15-
gem "tzinfo-data"
16-
end
13+
#platforms :mingw, :x64_mingw, :mswin, :jruby do
14+
#gem "tzinfo", ">= 1", "< 3"
15+
#gem "tzinfo-data"
16+
#end
1717

1818
# Performance-booster for watching directories on Windows
19-
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
19+
#gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
2020

2121
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
2222
# do not have a Java counterpart.
23-
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
23+
#gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]

_config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ timezone:
1717
# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
1818
# ↓ --------------------------
1919

20-
title: Security corner # the main title
20+
title: NullSector # the main title
2121

2222
tagline: Un blog dedicado a la divulgacion de la ciberseguridad, electronica y matematicas. # it will display as the sub-title
2323

@@ -37,7 +37,7 @@ linkedin:
3737
social:
3838
# Change to your full name.
3939
# It will be displayed as the default author of the posts and the copyright owner in the Footer
40-
name: CrackerJacker
40+
name: kriptobal
4141
email: cristobalcordovaw@gmail.com # change to your email address
4242
links:
4343
# The first element serves as the copyright owner's link
@@ -125,7 +125,7 @@ pwa:
125125
deny_paths:
126126
# - "/example" # URLs match `<SITE_URL>/example/*` will not be cached by the PWA
127127

128-
paginate: 10
128+
paginate: 4
129129

130130
# The base URL of your site
131131
baseurl: ""
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<!-- Cloudflare Web Analytics -->
2+
<script
3+
defer
4+
src="https://static.cloudflareinsights.com/beacon.min.js"
5+
data-cf-beacon='{"token": "{{ site.analytics.cloudflare.id }}"}'
6+
></script>

_includes/analytics/fathom.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<!-- Fathom -->
2+
<script
3+
src="https://cdn.usefathom.com/script.js"
4+
data-site="{{ site.analytics.fathom.id }}"
5+
defer
6+
></script>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<!-- GoatCounter -->
2+
<script
3+
async
4+
src="https://gc.zgo.at/count.js"
5+
data-goatcounter="https://{{ site.analytics.goatcounter.id }}.goatcounter.com/count"
6+
></script>

_includes/analytics/google.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!-- Global site tag (gtag.js) - Google Analytics -->
2+
<script defer src="https://www.googletagmanager.com/gtag/js?id={{ site.analytics.google.id }}"></script>
3+
<script>
4+
document.addEventListener('DOMContentLoaded', () => {
5+
window.dataLayer = window.dataLayer || [];
6+
function gtag() {
7+
dataLayer.push(arguments);
8+
}
9+
10+
gtag('js', new Date());
11+
gtag('config', '{{ site.analytics.google.id }}');
12+
});
13+
</script>

_includes/analytics/matomo.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!-- Matomo -->
2+
<script>
3+
document.addEventListener('DOMContentLoaded', () => {
4+
var _paq = (window._paq = window._paq || []);
5+
_paq.push(['trackPageView']);
6+
_paq.push(['enableLinkTracking']);
7+
var u="//{{ site.analytics.matomo.domain }}/";
8+
_paq.push(['setTrackerUrl', u+'matomo.php']);
9+
_paq.push(['setSiteId', {{ site.analytics.matomo.id }}]);
10+
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
11+
g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
12+
});
13+
</script>

_includes/analytics/umami.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<!-- Umami -->
2+
<script
3+
defer
4+
src="{{ site.analytics.umami.domain }}/script.js"
5+
data-website-id="{{ site.analytics.umami.id }}"
6+
></script>

_includes/comment.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<!-- The comments switcher -->
2+
{% if page.comments and site.comments.provider %}
3+
{% capture path %}comments/{{ site.comments.provider }}.html{% endcapture %}
4+
{% include {{ path }} %}
5+
{% endif %}

_includes/comments/disqus.html

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
<script>
2+
var disqus_config = function () {
3+
this.page.url = '{{ page.url | absolute_url }}';
4+
this.page.identifier = '{{ page.url }}';
5+
};
6+
7+
function addDisqus() {
8+
let disqusThread = document.createElement('div');
9+
let paragraph = document.createElement('p');
10+
11+
disqusThread.id = 'disqus_thread';
12+
paragraph.className = 'text-center text-muted small';
13+
paragraph.innerHTML = 'Comments powered by <a href="https://disqus.com/">Disqus</a>.';
14+
disqusThread.appendChild(paragraph);
15+
16+
const footer = document.querySelector('footer');
17+
footer.insertAdjacentElement("beforebegin", disqusThread);
18+
}
19+
20+
{%- comment -%} Auto switch theme {%- endcomment -%}
21+
function reloadDisqus(event) {
22+
if (event.source === window && event.data && event.data.id === Theme.ID) {
23+
{%- comment -%} Disqus hasn't been loaded {%- endcomment -%}
24+
if (typeof DISQUS === 'undefined') {
25+
return;
26+
}
27+
28+
if (document.readyState == 'complete') {
29+
DISQUS.reset({ reload: true, config: disqus_config });
30+
}
31+
}
32+
}
33+
34+
addDisqus();
35+
36+
if (Theme.switchable) {
37+
addEventListener('message', reloadDisqus);
38+
}
39+
40+
{%- comment -%} Lazy loading {%- endcomment -%}
41+
var disqusObserver = new IntersectionObserver(
42+
function (entries) {
43+
if (entries[0].isIntersecting) {
44+
var d = document,
45+
s = d.createElement('script');
46+
s.src = 'https://{{ site.comments.disqus.shortname }}.disqus.com/embed.js';
47+
s.setAttribute('data-timestamp', +new Date());
48+
(d.head || d.body).appendChild(s);
49+
50+
disqusObserver.disconnect();
51+
}
52+
},
53+
{ threshold: [0] }
54+
);
55+
56+
disqusObserver.observe(document.getElementById('disqus_thread'));
57+
</script>

0 commit comments

Comments
 (0)