casjaysdev-jekyll-theme 0.2.4 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitattributes +0 -0
- data/.gitignore +96 -17
- data/.prettierrc.json +8 -0
- data/.vscode/settings.json +6 -0
- data/Gemfile +25 -15
- data/LICENSE.md +1 -1
- data/_config.yml +195 -105
- data/_data/nav/external.yml +1 -1
- data/_includes/ads/adsense.html +15 -0
- data/_includes/analytics/google.html +13 -0
- data/_includes/{casjaysdev/piwik.html → analytics/matomo.html} +5 -6
- data/_includes/casjays-footer.html +61 -43
- data/_includes/casjays-header.html +39 -1
- data/_includes/casjaysdev/clock.html +3 -12
- data/_includes/casjaysdev/eucookie.html +21 -30
- data/_includes/casjaysdev/legal.html +17 -38
- data/_includes/casjaysdev/rocketchat.html +3 -4
- data/_includes/casjaysdev/sharethis.html +6 -42
- data/_includes/casjaysdev/socialfooter.html +9 -85
- data/_includes/casjaysdev/sociallinks.html +51 -79
- data/_includes/casjaysdev/statcounter.html +8 -25
- data/_includes/casjaysdev/theme.html +9 -11
- data/_includes/casjaysdev/widgetbot.html +3 -1
- data/_includes/disqus.html +3 -7
- data/_includes/functions/blog.html +68 -0
- data/_includes/functions/default.html +3 -0
- data/{_pages → _includes/functions}/gallery/index.html +3 -5
- data/_includes/functions/gallery.html +44 -0
- data/_includes/functions/recipes.html +68 -0
- data/_includes/github.html +17 -7
- data/_includes/nav/external.html +10 -11
- data/_includes/nav/internal.html +14 -10
- data/_includes/nav/sidebars/right.html +2 -1
- data/_includes/nav/top.html +12 -19
- data/_includes/themes/blank/layouts/default.html +5 -20
- data/_includes/themes/blank/navigation.html +16 -18
- data/_includes/themes/hacker/layouts/default.html +32 -60
- data/_includes/themes/hacker/meta.html +2 -95
- data/_includes/themes/hacker/page_header.html +27 -0
- data/_layouts/default.html +32 -13
- data/_layouts/page.html +3 -3
- data/_layouts/post.html +1 -1
- data/_layouts/recipes.html +43 -0
- data/_pages/about/index.html +3 -5
- data/_pages/blog/catergories/catergories.html +6 -6
- data/_pages/blog/index.html +48 -44
- data/_pages/blog/tags/tags.html +6 -6
- data/_pages/contact/index.html +62 -160
- data/_pages/index.html +102 -7
- data/_pages/rss/index.xml +1 -0
- data/_posts/2021-07-31-welcome-to-your-new-site.md +14 -0
- data/_posts/2022-07-31-templates-update.md +14 -0
- data/_posts/2023-04-24-theme-rewrite.md +14 -0
- data/assets/css/bootstrap/bootstrap-icons.css +5994 -2002
- data/assets/css/bootstrap/font-awesome.css +6812 -3
- data/assets/css/errorpages/errorpages.css +8 -7
- data/assets/css/gh/ribbon.css +31 -18
- data/assets/css/hacker.css +41 -54
- data/assets/css/other/forms-min.css +316 -1
- data/assets/js/errorpages/homepage.js +4 -2
- data/assets/js/errorpages/isup.js +5 -2
- data/assets/js/errorpages/loaddomain.js +5 -2
- data/assets/js/fetch-url.js +1 -3
- data/assets/js/utils/bootstrap.bundle.min.js +4181 -6
- data/assets/js/utils/fetch.min.js +467 -1
- data/casjaysdev-jekyll-theme.gemspec +16 -6
- data/error/403.html +49 -0
- data/error/404.html +39 -34
- data/error/418.html +48 -0
- data/error/500.html +39 -34
- data/error/502.html +49 -0
- data/error/503.html +49 -0
- data/error/504.html +49 -0
- data/health/index.html +7 -0
- data/health/json +3 -0
- data/health/txt +1 -0
- metadata +259 -22
- data/.editorconfig +0 -8
- data/CNAME +0 -1
- data/Gemfile.lock +0 -310
- data/_includes/casjaysdev/ads.html +0 -24
- data/_includes/casjaysdev/google.html +0 -32
- data/_includes/image-gallery.html +0 -30
- data/_layouts/errors.html +0 -26
- data/images/.keep +0 -1
@@ -1,4 +1,6 @@
|
|
1
1
|
function homepage() {
|
2
|
-
|
3
|
-
|
2
|
+
let proto = location.protocol;
|
3
|
+
let port = location.port;
|
4
|
+
let currentSite = window.location.hostname;
|
5
|
+
window.location = proto + '//' + currentSite + ':' + port;
|
4
6
|
}
|
@@ -1,4 +1,7 @@
|
|
1
1
|
function isupme() {
|
2
|
-
|
3
|
-
|
2
|
+
let proto = location.protocol || 'https';
|
3
|
+
let port = location.port || '443';
|
4
|
+
let currentSite = window.location.hostname;
|
5
|
+
fullurllocation = proto + '//' + currentSite + ':' + port;
|
6
|
+
window.location = 'http://isup.me/' + fullurllocation;
|
4
7
|
}
|
@@ -1,4 +1,7 @@
|
|
1
1
|
function loadDomain() {
|
2
|
-
|
3
|
-
|
2
|
+
let proto = location.protocol;
|
3
|
+
let port = location.port;
|
4
|
+
let url = location.hostname;
|
5
|
+
var display = document.getElementById('display-domain');
|
6
|
+
display.innerHTML = proto + '//' + url + ':' + port;
|
4
7
|
}
|