Skip to content

Commit

Permalink
fixed links
Browse files Browse the repository at this point in the history
  • Loading branch information
abakaldin committed Feb 25, 2022
1 parent ac7bd55 commit b67846f
Show file tree
Hide file tree
Showing 841 changed files with 12,514 additions and 5,812 deletions.
8 changes: 8 additions & 0 deletions .github/jekyll/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# frozen_string_literal: true

source "https://rubygems.org"

# gem "rails"

gem "jekyll", "~> 4.2"
gem 'jekyll-sitemap'
70 changes: 70 additions & 0 deletions .github/jekyll/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
colorator (1.1.0)
concurrent-ruby (1.1.9)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7-x64-mingw32)
ffi (1.15.5-x64-mingw32)
forwardable-extended (2.6.0)
http_parser.rb (0.8.0)
i18n (1.10.0)
concurrent-ruby (~> 1.0)
jekyll (4.2.1)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (~> 2.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.4.0)
pathutil (~> 0.9)
rouge (~> 3.0)
safe_yaml (~> 1.0)
terminal-table (~> 2.0)
jekyll-sass-converter (2.1.0)
sassc (> 2.0.1, < 3.0)
jekyll-sitemap (1.4.0)
jekyll (>= 3.7, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.3.1)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
listen (3.7.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (4.0.6)
rb-fsevent (0.11.1)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.5)
rouge (3.28.0)
safe_yaml (1.0.5)
sassc (2.4.0-x64-mingw32)
ffi (~> 1.9)
terminal-table (2.0.0)
unicode-display_width (~> 1.1, >= 1.1.1)
unicode-display_width (1.8.0)

PLATFORMS
x64-mingw32

DEPENDENCIES
jekyll (~> 4.2)
jekyll-sitemap

BUNDLED WITH
2.3.7
13 changes: 8 additions & 5 deletions .github/jekyll/_config.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
title: "Zabbix public templates"
header_title: "Zabbix public templates"
email: [email protected]
author: Your Name
description: "My blog description"
email: [email protected]
author: ""
description: ""
baseurl: ""
url: "https://myblog.com"
url: "https://share.zabbix.com/"
date_format: "%-d.%m.%Y"

collections:
zabbix_templates:
output: true
permalink: /templates/:name/
permalink: /templates/:name/

plugins:
- jekyll-sitemap
4 changes: 2 additions & 2 deletions .github/jekyll/_includes/disqus_main.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<div id="disqus_thread"></div>
<script>
var disqus_config = function () {
{% capture git_hub_page %}{{ "https://zabbix.github.io/community-templates" }}{{ page.url }}{% endcapture %}
{% capture git_hub_page %}{{ "https://share.zabbix.com" }}{{ page.url }}{% endcapture %}
this.page.url = "{{ git_hub_page }}";
this.page.identifier = "{{ include.folder }}";
};
(function() {
var d = document, s = d.createElement('script');
s.src = 'https://zabbix-github-io-community-templates.disqus.com/embed.js';
s.src = 'https://share-zabbix-com.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
Expand Down
2 changes: 1 addition & 1 deletion .github/jekyll/_includes/template.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a href="/community-templates/templates/{{ include.template.jekyll }}">
<a href="templates/{{ include.template.jekyll }}">
<div class="template">

{{ include.template.template }}
Expand Down
4 changes: 2 additions & 2 deletions .github/jekyll/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="google-site-verification" content="BHKqriCBWqyb9pyUl16AGCSj5ySWUu0U4ktNenB3_1M" />
<meta name="google-site-verification" content="3xnQJE8YBwDgN_w-073-e5c6iGSf4eYrtFhs0KdbU0w" />
<title>Zabbix community templates</title>
<link rel="stylesheet" href="/community-templates/assets/css/styles.css">
<link rel="stylesheet" href="assets/css/styles.css">
</head>

<body id="body">
Expand Down
8 changes: 5 additions & 3 deletions .github/jekyll/_layouts/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<head>
<meta charset="utf-8">
<title>{{ page.name }}</title>
<link rel="stylesheet" href="/community-templates/assets/css/styles.css">
<script src="/community-templates/assets/js/jquery.min.js"></script>
<link rel="stylesheet" href="/assets/css/styles.css">
<script src="/assets/js/jquery.min.js"></script>
</head>

<body id="body">
Expand All @@ -32,8 +32,10 @@ <h2 class="h2">Available versions</h2>
</div>
<br>
<br>
{% for vr in vers %}
{% for vr in vers %}
{% capture git_hub_url_template %}{{ git_hub_url }}{{"/"}}{{ vr }}{% endcapture %}
<div id="content_ver_{{ vr | replace: ".", "_" }}" class="readme">
<a class="button button-green" style="color: #ffff;" href="{{ git_hub_url_template }}">Download ver. {{ vr }}</a>
{% capture file_name %}{{ "markdown/zabbix_templates/" }}{{ page.folder }}{{"/"}}{{ vr }}{{"/README.md"}}{% endcapture %}
{% include markdown_file.html path=file_name %}
</div>
Expand Down
2 changes: 1 addition & 1 deletion .github/jekyll/_pages/templates.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: page
title: "A list of templates"
permalink: "/templates/"
permalink: "templates/"
---
Loading

0 comments on commit b67846f

Please sign in to comment.