From 22a21c142fd10f4caf0b89478f44bb4030f0c11b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 7 May 2020 02:32:33 +0000 Subject: use "remote" Jekyll theme I moved _includes/, _layouts/, css/ to egor-tensin/jekyll-theme. --- _config.yml | 3 ++ _includes/common/bootstrap_css.html | 5 --- _includes/common/bootstrap_js.html | 5 --- _includes/common/footer.html | 25 ------------ _includes/common/header.html | 30 --------------- _includes/common/ie_compat.html | 11 ------ _includes/common/jquery.html | 5 --- _includes/common/mathjax.html | 12 ------ _includes/common/mathjax_workaround.md | 1 - _includes/common/navbar.html | 33 ---------------- _includes/common/paginator.html | 23 ----------- _includes/common/sidebar.html | 25 ------------ _includes/snippets/footer.html | 5 --- _includes/snippets/header.html | 14 ------- _includes/snippets/section.html | 25 ------------ _layouts/category.html | 14 ------- _layouts/default.html | 10 ----- _layouts/note.html | 6 --- _layouts/post.html | 10 ----- _posts/2020-02-24-ssh-tunnel-windows.md | 4 +- assets/img/ssh_tunnel_services.png | Bin 0 -> 65871 bytes css/common/footer.css | 30 --------------- css/common/misc.css | 50 ------------------------ css/snippets.css | 8 ---- css/syntax.css | 66 -------------------------------- img/ssh_tunnel_services.png | Bin 65871 -> 0 bytes 26 files changed, 5 insertions(+), 415 deletions(-) delete mode 100644 _includes/common/bootstrap_css.html delete mode 100644 _includes/common/bootstrap_js.html delete mode 100644 _includes/common/footer.html delete mode 100644 _includes/common/header.html delete mode 100644 _includes/common/ie_compat.html delete mode 100644 _includes/common/jquery.html delete mode 100644 _includes/common/mathjax.html delete mode 100644 _includes/common/mathjax_workaround.md delete mode 100644 _includes/common/navbar.html delete mode 100644 _includes/common/paginator.html delete mode 100644 _includes/common/sidebar.html delete mode 100644 _includes/snippets/footer.html delete mode 100644 _includes/snippets/header.html delete mode 100644 _includes/snippets/section.html delete mode 100644 _layouts/category.html delete mode 100644 _layouts/default.html delete mode 100644 _layouts/note.html delete mode 100644 _layouts/post.html create mode 100644 assets/img/ssh_tunnel_services.png delete mode 100644 css/common/footer.css delete mode 100644 css/common/misc.css delete mode 100644 css/snippets.css delete mode 100644 css/syntax.css delete mode 100644 img/ssh_tunnel_services.png diff --git a/_config.yml b/_config.yml index 5290a16..1586d2e 100644 --- a/_config.yml +++ b/_config.yml @@ -1,6 +1,9 @@ plugins: - jekyll-paginate - jekyll-github-metadata + - jekyll-remote-theme + +remote_theme: egor-tensin/jekyll-theme exclude: - .travis.yml diff --git a/_includes/common/bootstrap_css.html b/_includes/common/bootstrap_css.html deleted file mode 100644 index f47b856..0000000 --- a/_includes/common/bootstrap_css.html +++ /dev/null @@ -1,5 +0,0 @@ -{% if site.minified_externals %} - -{% else %} - -{% endif %} diff --git a/_includes/common/bootstrap_js.html b/_includes/common/bootstrap_js.html deleted file mode 100644 index e724257..0000000 --- a/_includes/common/bootstrap_js.html +++ /dev/null @@ -1,5 +0,0 @@ -{% if site.minified_externals %} - -{% else %} - -{% endif %} diff --git a/_includes/common/footer.html b/_includes/common/footer.html deleted file mode 100644 index c1d80e2..0000000 --- a/_includes/common/footer.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - {% include common/jquery.html %} - {% include common/bootstrap_js.html %} - - diff --git a/_includes/common/header.html b/_includes/common/header.html deleted file mode 100644 index a17ea71..0000000 --- a/_includes/common/header.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - {{ page.title }} - {{ site.project.name }} - {{ site.personal_info.name }} - - {% include common/bootstrap_css.html %} - - - - - {% if page.custom_css %} - {% for css in page.custom_css %} - - {% endfor %} - {% endif %} - - {% include common/ie_compat.html %} - {% include common/mathjax.html %} - - - diff --git a/_includes/snippets/header.html b/_includes/snippets/header.html deleted file mode 100644 index 673fc5a..0000000 --- a/_includes/snippets/header.html +++ /dev/null @@ -1,14 +0,0 @@ -{% capture snippet_basename %}{{ include.snippet_path | split:"/" | last }}{% endcapture %} -{% capture snippet_id %}{{ include.snippet_path | replace:'/','_' | replace:'.','_' }}{% endcapture %} -
-
- {% if page.snippets_collapsible %} - {{ snippet_basename }} - {% else %} -
{{ snippet_basename }}
- {% endif %} -
- {% if page.snippets_collapsible %} -
- {% endif %} -
diff --git a/_includes/snippets/section.html b/_includes/snippets/section.html deleted file mode 100644 index cbb778f..0000000 --- a/_includes/snippets/section.html +++ /dev/null @@ -1,25 +0,0 @@ -{% if page.snippets_collapsible %} -
-{% else %} -
-{% endif %} - -{% for i in page.snippets[include.section_id] %} - {% include snippets/header.html snippet_path=i section_id=include.section_id %} - -{% capture snippet %} -```{{ page.snippets_language }} -{% include_relative {{ page.snippets_root_directory }}/{{ i }} %}``` -{% endcapture %} - -{{ snippet | markdownify }} - - {% include snippets/footer.html %} -{% endfor %} - -
- -{% for i in page.snippets[include.section_id] %} - {% capture snippet_id %}{{ i | replace:"/","_" | replace:".","_" }}{% endcapture %} -[{{ i }}]: #{{ snippet_id }} -{% endfor %} diff --git a/_layouts/category.html b/_layouts/category.html deleted file mode 100644 index efb34db..0000000 --- a/_layouts/category.html +++ /dev/null @@ -1,14 +0,0 @@ ---- -layout: default ---- -

{{ page.title }}

-
-

This is a list of posts in category "{{ page.category }}".

-{% if site.categories[page.category].size > 0 %} - -{% endif %} -

For a complete list of posts grouped by category, please see this page.

diff --git a/_layouts/default.html b/_layouts/default.html deleted file mode 100644 index f151314..0000000 --- a/_layouts/default.html +++ /dev/null @@ -1,10 +0,0 @@ -{% include common/header.html %} -
-
- {{ content }} -
-
- {% include common/sidebar.html %} -
-
-{% include common/footer.html %} diff --git a/_layouts/note.html b/_layouts/note.html deleted file mode 100644 index 090100f..0000000 --- a/_layouts/note.html +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: default ---- -

{{ page.title }}

-
-{{ content }} diff --git a/_layouts/post.html b/_layouts/post.html deleted file mode 100644 index c539244..0000000 --- a/_layouts/post.html +++ /dev/null @@ -1,10 +0,0 @@ ---- -layout: default ---- -

{{ page.title }}

-

-  Posted on {{ page.date | date: '%-d %B %Y' }} - {%- if page.category %} in  {{ page.category }}{% endif %} -

-{{ content }} -
diff --git a/_posts/2020-02-24-ssh-tunnel-windows.md b/_posts/2020-02-24-ssh-tunnel-windows.md index a847ff4..3e53e22 100644 --- a/_posts/2020-02-24-ssh-tunnel-windows.md +++ b/_posts/2020-02-24-ssh-tunnel-windows.md @@ -145,8 +145,8 @@ service to restart if `ssh` fails: diff --git a/assets/img/ssh_tunnel_services.png b/assets/img/ssh_tunnel_services.png new file mode 100644 index 0000000..163cb24 Binary files /dev/null and b/assets/img/ssh_tunnel_services.png differ diff --git a/css/common/footer.css b/css/common/footer.css deleted file mode 100644 index 1e05c57..0000000 --- a/css/common/footer.css +++ /dev/null @@ -1,30 +0,0 @@ -html, body { - height: 100%; - width: 100%; -} -.top-level-footer-wrapper { - height: 100%; - width: 100%; - display: table; - - /* - * Without this property, scrollbars inside
 elements don't work if
-   * display's width is less than 750px.
-   * God, I hate CSS.
-   */
-  table-layout: fixed;
-}
-.footer-wrapper-collapse {
-  display: table-row;
-  height: 1px;
-}
-.footer-wrapper-expand {
-  display: table-row;
-  height: auto;
-}
-footer {
-  margin-top: 20px;
-  padding: 15px 0 15px;
-  border-width: 1px 0;
-  border-style: solid;
-}
diff --git a/css/common/misc.css b/css/common/misc.css
deleted file mode 100644
index 4bf362b..0000000
--- a/css/common/misc.css
+++ /dev/null
@@ -1,50 +0,0 @@
-/* Utility classes to prevent blocks from expanding unreasonably. */
-.wide-enough {
-  max-width: 400px;
-}
-.wider {
-  max-width: 600px;
-}
-/* Links become blue inside of  elements otherwise. */
-h1 a,
-h2 a,
-h3 a,
-h4 a,
-h5 a,
-h6 a {
-  color: inherit;
-}
-/* Link captions might become too close to badges on the sidebar. */
-span.badge {
-  margin-left: .5em;
-}
-/* Add horizontal scrollbars to 
s and don't wrap the code inside. */
-pre {
-  overflow-x: auto;
-}
-pre code {
-  white-space: pre;
-  word-wrap: normal;
-}
-/* Lighter background for 
 and  elements. */
-pre {
-  font-size: inherit;
-  background-color: #fbfbfb;
-}
-.highlight {
-  background-color: #fbfbfb !important;
-}
-code {
-  color: inherit;
-  background-color: #fbfbfb;
-  font-size: inherit;
-}
-/* Prevent  elements from standing out from alerts. */
-.alert code {
-  padding: 0;
-  background-color: inherit;
-}
-/* Don't color category links blue. */
-.text-muted a.category {
-  color: inherit;
-}
diff --git a/css/snippets.css b/css/snippets.css
deleted file mode 100644
index 78fa9e9..0000000
--- a/css/snippets.css
+++ /dev/null
@@ -1,8 +0,0 @@
-div.panel-body pre {
-  margin: 0;
-  border: none;
-  border-radius: 0 0 4px 4px;
-}
-div.panel-body {
-  padding: 0;
-}
diff --git a/css/syntax.css b/css/syntax.css
deleted file mode 100644
index 855ae2c..0000000
--- a/css/syntax.css
+++ /dev/null
@@ -1,66 +0,0 @@
-.highlight .hll { background-color: #ffffcc }
-.highlight  { background: #ffffff; }
-.highlight .c { color: #aaaaaa; font-style: italic } /* Comment */
-.highlight .err { color: #FF0000; background-color: #FFAAAA } /* Error */
-.highlight .k { color: #0000aa } /* Keyword */
-.highlight .ch { color: #aaaaaa; font-style: italic } /* Comment.Hashbang */
-.highlight .cm { color: #aaaaaa; font-style: italic } /* Comment.Multiline */
-.highlight .cp { color: #4c8317 } /* Comment.Preproc */
-.highlight .cpf { color: #aaaaaa; font-style: italic } /* Comment.PreprocFile */
-.highlight .c1 { color: #aaaaaa; font-style: italic } /* Comment.Single */
-.highlight .cs { color: #0000aa; font-style: italic } /* Comment.Special */
-.highlight .gd { color: #aa0000 } /* Generic.Deleted */
-.highlight .ge { font-style: italic } /* Generic.Emph */
-.highlight .gr { color: #aa0000 } /* Generic.Error */
-.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
-.highlight .gi { color: #00aa00 } /* Generic.Inserted */
-.highlight .go { color: #888888 } /* Generic.Output */
-.highlight .gp { color: #555555 } /* Generic.Prompt */
-.highlight .gs { font-weight: bold } /* Generic.Strong */
-.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
-.highlight .gt { color: #aa0000 } /* Generic.Traceback */
-.highlight .kc { color: #0000aa } /* Keyword.Constant */
-.highlight .kd { color: #0000aa } /* Keyword.Declaration */
-.highlight .kn { color: #0000aa } /* Keyword.Namespace */
-.highlight .kp { color: #0000aa } /* Keyword.Pseudo */
-.highlight .kr { color: #0000aa } /* Keyword.Reserved */
-.highlight .kt { color: #00aaaa } /* Keyword.Type */
-.highlight .m { color: #009999 } /* Literal.Number */
-.highlight .s { color: #aa5500 } /* Literal.String */
-.highlight .na { color: #1e90ff } /* Name.Attribute */
-.highlight .nb { color: #00aaaa } /* Name.Builtin */
-.highlight .nc { color: #00aa00; text-decoration: underline } /* Name.Class */
-.highlight .no { color: #aa0000 } /* Name.Constant */
-.highlight .nd { color: #888888 } /* Name.Decorator */
-.highlight .ni { color: #880000; font-weight: bold } /* Name.Entity */
-.highlight .nf { color: #00aa00 } /* Name.Function */
-.highlight .nn { color: #00aaaa; text-decoration: underline } /* Name.Namespace */
-.highlight .nt { color: #1e90ff; font-weight: bold } /* Name.Tag */
-.highlight .nv { color: #aa0000 } /* Name.Variable */
-.highlight .ow { color: #0000aa } /* Operator.Word */
-.highlight .w { color: #bbbbbb } /* Text.Whitespace */
-.highlight .mb { color: #009999 } /* Literal.Number.Bin */
-.highlight .mf { color: #009999 } /* Literal.Number.Float */
-.highlight .mh { color: #009999 } /* Literal.Number.Hex */
-.highlight .mi { color: #009999 } /* Literal.Number.Integer */
-.highlight .mo { color: #009999 } /* Literal.Number.Oct */
-.highlight .sa { color: #aa5500 } /* Literal.String.Affix */
-.highlight .sb { color: #aa5500 } /* Literal.String.Backtick */
-.highlight .sc { color: #aa5500 } /* Literal.String.Char */
-.highlight .dl { color: #aa5500 } /* Literal.String.Delimiter */
-.highlight .sd { color: #aa5500 } /* Literal.String.Doc */
-.highlight .s2 { color: #aa5500 } /* Literal.String.Double */
-.highlight .se { color: #aa5500 } /* Literal.String.Escape */
-.highlight .sh { color: #aa5500 } /* Literal.String.Heredoc */
-.highlight .si { color: #aa5500 } /* Literal.String.Interpol */
-.highlight .sx { color: #aa5500 } /* Literal.String.Other */
-.highlight .sr { color: #009999 } /* Literal.String.Regex */
-.highlight .s1 { color: #aa5500 } /* Literal.String.Single */
-.highlight .ss { color: #0000aa } /* Literal.String.Symbol */
-.highlight .bp { color: #00aaaa } /* Name.Builtin.Pseudo */
-.highlight .fm { color: #00aa00 } /* Name.Function.Magic */
-.highlight .vc { color: #aa0000 } /* Name.Variable.Class */
-.highlight .vg { color: #aa0000 } /* Name.Variable.Global */
-.highlight .vi { color: #aa0000 } /* Name.Variable.Instance */
-.highlight .vm { color: #aa0000 } /* Name.Variable.Magic */
-.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
diff --git a/img/ssh_tunnel_services.png b/img/ssh_tunnel_services.png
deleted file mode 100644
index 163cb24..0000000
Binary files a/img/ssh_tunnel_services.png and /dev/null differ
-- 
cgit v1.2.3