Skip to content

Commit

Permalink
Migrated to Jekyll
Browse files Browse the repository at this point in the history
  • Loading branch information
sdemchenko-patrianna committed Apr 27, 2024
1 parent f804e21 commit f67a408
Show file tree
Hide file tree
Showing 9 changed files with 365 additions and 275 deletions.
25 changes: 25 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
permalink: /404.html
---

<style type="text/css" media="screen">
.container {
margin: 10px auto;
max-width: 600px;
text-align: center;
}
h1 {
margin: 30px 0;
font-size: 4em;
line-height: 1;
letter-spacing: -1px;
}
</style>

<div class="container">
<h1>404</h1>

<p><strong>Page not found :(</strong></p>
<p>The requested page could not be found.</p>
<a href="index">На головну сторінку</a> | <a href="index_en">To the main page</a>
</div>
35 changes: 35 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
source "https://rubygems.org"
# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
# gem "jekyll", "~> 4.3.3"
# This is the default theme for new Jekyll sites. You may change this to anything you like.
gem "minima", "~> 2.5"
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
gem "github-pages", "~> 231", group: :jekyll_plugins
# If you have any plugins, put them here!
group :jekyll_plugins do
gem "jekyll-feed", "~> 0.12"
end

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

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

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

gem "webrick", "~> 1.8"
54 changes: 54 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely edit after that. If you find
# yourself editing this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
#
# If you need help with YAML syntax, here are some quick references for you:
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
# https://learnxinyminutes.com/docs/yaml/
#
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.

title: Настільний теніс Києва
email: [email protected]
description: >- # this means to ignore newlines until "baseurl:"
Київські клуби, майданчики та змагання з настільного тенісу
domain: sdemchenko.github.io # if you want to force HTTPS, specify the domain without the http at the start, e.g. example.com
url: https://sdemchenko.github.io # the base hostname and protocol for your site, e.g. http://example.com
baseurl: /kyiv-table-tennis # place folder name if the site is served in a subfolder
github_username: sdemchenko


# Build settings
theme: minima
plugins:
- jekyll-feed

# Exclude from processing.
# The following items will not be processed, by default.
# Any item listed under the `exclude:` key here will be automatically added to
# the internal "default list".
#
# Excluded items can be processed by explicitly listing the directories or
# their entries' file path in the `include:` list.
#
# exclude:
# - .sass-cache/
# - .jekyll-cache/
# - gemfiles/
# - Gemfile
# - Gemfile.lock
# - node_modules/
# - vendor/bundle/
# - vendor/cache/
# - vendor/gems/
# - vendor/ruby/
144 changes: 7 additions & 137 deletions index.htm → index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<!DOCTYPE html>
---
layout: null
---
<html lang="ua">
<head>
<meta charset="UTF-8">
Expand All @@ -24,7 +26,7 @@
</head>
<body>
<h1 style="font-size: x-large">Настільний теніс у Києві</h1>
Українська | <a href="index_en.htm">English</a>
Українська | <a href="index_en">English</a>
<ul>
<li><a href="#news">Новини</a></li>
<li><a href="#maps">Мапи</a></li>
Expand Down Expand Up @@ -57,14 +59,7 @@ <h1 style="font-size: x-large">Настільний теніс у Києві</h1
<h1 id="news">Новини</h1>
<div class="news">

<div>20 квітня 2024</div>
27-28 квітня в "Orion" будуть спортивні збори, тому "Happy Hours" будуть з 20:30 до 22:00.

<div>19 квітня 2024</div>
"TennisOk" <a href="https://www.facebook.com/groups/814886828546646/permalink/7535479943153934/">шукає тренера</a>.

<div>13 квітня 2024</div>
5 травня на ВДНГ відбудеться турнір з призовим фондом 50000 гривень. <a href="https://t.me/c/1617919041/24151">Подробиці</a>.
{% include_relative news.html %}

<div>Більше новин:
<div class="sources">
Expand Down Expand Up @@ -737,135 +732,10 @@ <h1 id="courts">Майданчики</h1>
</table>

<h1 id="schedule">Розклад змагань</h1>
<h2 id="monday">Понеділок</h2>
<ul>
<li>9:00 - 16:00. "Воля". Ранкова гра на столи.</li>
<li>11:00 - 15:00. "Orion". Гра на столи.</li>
<li>17:00 - 20:00. "Гурман". Гра на столи.</li>
<li>17:00 - 20:00. "Печерськ". Гра на столи.</li>
<li>18:00 - 20:30. "Himars". Гра у групі.</li>
<li>18:00 - 20:30. "Брейкс". Гра на столи.</li>
<li>19:15 - 22:30. "Воля". Вечірня гра на столи.</li>
<li>19:00. ДЮСШ №21. Нерейтинговий турнір 0-100.</li>
<li>19:00 - 21:00. ДЮСШ "Лідер". Гра на столи (група понеділок+середа+пʼятниця).</li>
<li>19:30 - 23:00. "Ракетка". Гра у групі (група понеділок+четвер).</li>
<li>19:30 - 22:00. "KRSP". Розминка + гра по колу + гра на столи.</li>
</ul>

<h2 id="tuesday">Вівторок</h2>
<ul>
<li>9:00 - 15:00. "Orion". Гра на столи.</li>
<li>9:00 - 16:00. "Воля". Ранкова гра на столи.</li>
<li>16:00 - 22:30. "Воля". Вечірня гра на столи.</li>
<li>17:00 - 20:00. "Печерськ". Гра на столи.</li>
<li>17:00 - 19:30. Спорткомплекс Драгоманова. Гра на столи.</li>
<li>18:00 - 20:30. "Himars". Гра у групі.</li>
<li>19:00. "Orion". Нерейтинговий турнір 0-20.</li>
<li>19:00 - 21:00. ДЮСШ "Лідер". Гра на столи (група вівторок+четвер+субота).</li>
<li>19:30 - 23:00. "Ракетка". Гра у групі (група вівторок+пʼятниця).</li>
</ul>

<h2 id="wednesday">Середа</h2>
<ul>
<li>9:00 - 16:00. "Воля". Ранкова гра на столи.</li>
<li>11:00 - 15:00. "Orion". Гра на столи.</li>
<li>17:00 - 20:00. "Гурман". Гра на столи.</li>
<li>17:00 - 20:00. "Печерськ". Гра на столи.</li>
<li>18:00. "Himars". Рейтинговий турнір 0-35.</li>
<li>18:00 - 20:30. "Брейкс". Гра на столи.</li>
<li>19:15 - 22:30. "Воля". Вечірня гра на столи.</li>
<li>19:00. ДЮСШ №21. Нерейтинговий турнір 0-100.</li>
<li>19:00 - 21:00. ДЮСШ "Лідер". Гра на столи (група понеділок+середа+пʼятниця).</li>
<li>19:30 - 23:00. "Ракетка". Гра у групі (група середа+субота).</li>
</ul>

<h2 id="thursday">Четвер</h2>
<ul>
<li>9:00 - 15:00. "Orion". Гра на столи.</li>
<li>9:00 - 16:00. "Воля". Ранкова гра на столи.</li>
<li>16:00 - 22:30. "Воля". Вечірня гра на столи (на столах, вільних від турніру).</li>
<li>17:00 - 20:00. "Печерськ". Гра на столи.</li>
<li>17:00 - 19:30. Спорткомплекс Драгоманова.</li>
<li>18:00 - 20:30. "Himars". Гра у групі.</li>
<li>19:00. "Orion". Нерейтинговий турнір 0-15.</li>
<li>19:00. "Воля". Рейтинговий турнір 0-20.</li>
<li>19:00 - 21:00. ДЮСШ "Лідер". Гра на столи (група вівторок+четвер+субота).</li>
<li>19:30 - 23:00. "Ракетка". Гра у групі (група понеділок+четвер).</li>
</ul>

<h2 id="friday">П'ятниця</h2>
<ul>
<li>9:00 - 16:00. "Воля". Ранкова гра на столи.</li>
<li>11:00 - 15:00. "Orion". Гра на столи.</li>
<li>17:00 - 20:00. "Гурман". Гра на столи.</li>
<li>17:00 - 20:00. "Печерськ". Гра на столи.</li>
<li>18:00 - 20:30. "Himars". Гра у групі.</li>
<li>18:00 - 20:30. "Брейкс". Гра на столи.</li>
<li>18:00. ДЮСШ №21. Нерейтинговий турнір 0-100.</li>
<li>19:00 - 21:00. ДЮСШ "Лідер". Гра на столи (група понеділок+середа+пʼятниця).</li>
<li>19:15 - 22:30. "Воля". Вечірня гра на столи.</li>
<li>19:30 - 23:00. "Ракетка". Гра у групі (група вівторок+пʼятниця).</li>
</ul>

<h2 id="saturday">Субота</h2>
<ul>
<li>8:00. "Grand-Prix". Нерейтинговий турнір 0-100. Обовʼязкова попередня реєстрація у чаті клубу.</li>
<li>9:30. "Солом'янка". Нерейтинговий турнір 0-100. Реєстрація напередодні.</li>
<li>10:00. "Брейкс". Рейтинговий турнір 0-25 або 0-100 (визначається голосуванням у чаті клубу).</li>
<li>10:00 - 12:00. ДЮСШ "Лідер". Гра на столи (група вівторок+четвер+субота).</li>
<li>10:00. КМП "Лідер" (Виноградар). Дитячий турнір. Три рівні складності.</li>
<li>10:30. "Orion". Рейтинговий турнір 0-25.</li>
<li>11:00. "Himars". Рейтинговий турнір 0-100.</li>
<li>11:30. "Покоління". Нерейтинговий турнір 0-100.</li>
<li>12:00. "Воля". Рейтинговий турнір 0-20.</li>
<li>12:00 - 14:15. ДЮСШ №23. Гра на столи.</li>
<li>15:00. "Orion". Турнір.</li>
<li>15:00. "Воля". Рейтинговий турнір 0-40.</li>
<li>15:00. Спорткомплекс ДБК-4. Гра на столи.</li>
<li>16:00 - 20:00. "Печерськ". Гра на столи.</li>
<li>18:20 - 21:00. "Orion". Гра на столи.</li>
<li>18:30. "KUTT". Турнір (не кожну суботу). Анонс напередодні у чаті клубу.</li>
<li>19:00 - 22:30. "Воля". Вечірня гра на столи.</li>
<li>19:30 - 23:00. "Ракетка". Гра у групі (група середа+субота).</li>
</ul>
{% capture my_include %}{% include_relative schedule.md %}{% endcapture %}
{{ my_include | markdownify }}

<h2 id="sunday">Неділя</h2>
<ul>
<li>8:00. "Grand-Prix". Нерейтинговий турнір 0-100. Обовʼязкова попередня реєстрація у чаті клубу.</li>
<li>9:00 - 16:00. "Воля". Ранкова гра на столи.</li>
<li>9:30. Ревуцького, 5. Турнір для початківців.</li>
<li>10:00. "Гурман". Рейтинговий турнір.
<ul>
<li>28 квітня: 0-40</li>
</ul>
</li>
<li>10:00. КМП "Лідер" (Виноградар). Рейтинговий турнір.
<ul>
<li>28 квітня: 0-15</li>
</ul>
</li>
<li>10:00. "Ракетка". Рейтинговий турнір (або два одночасно).
<ul>
<li>28 квітня: 0-25</li>
</ul>
</li>
<li>10:00. "Світлотехнік". Рейтинговий турнір 0-40.</li>
<li>10:00 - 14:00. Спорткомплекс Драгоманова. Гра на столи.</li>
<li>10:30. "KRSP". Нерейтинговий турнір.
<ul>
<li>28 квітня: 0-100 (підсумковий турнір місяця)</li>
</ul>
</li>
<li>10:30. "Orion". Нерейтинговий турнір 0-15.</li>
<li>11:00. "Старт". Нерейтинговий турнір 0-100.</li>
<li>11:30. "Покоління". Нерейтинговий турнір 0-100.</li>
<li>12:00. "Печерськ". Рейтинговий турнір 0-30.</li>
<li>15:00. "Orion". Дитячий відкритий турнір.</li>
<li>16:00 - 22:30. "Воля". Вечірня гра на столи.</li>
<li>16:00 - 20:00. "Печерськ". Гра на столи.</li>
<li>17:00. "Воля". Нерейтинговий турнір 0-15 (не кожну неділю).</li>
<li>18:20 - 21:00. "Orion". Гра на столи.</li>
</ul>

<h1 id="competitions">Види змагань</h1>
<h2 id="ranking">Рейтинговий турнір</h2>
Expand Down
Loading

0 comments on commit f67a408

Please sign in to comment.