aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2022-11-20 21:42:50 +0900
committernsfisis <nsfisis@gmail.com>2022-11-20 22:20:42 +0900
commit75402b673c0f630b620904ce3153f8645d89d700 (patch)
tree18dc3e091765267fbd59c4f76702a827c69c1eed
parenta0738cdd46d6e52463687b903b1e7d09a541aaa1 (diff)
downloadblog.nsfisis.dev-75402b673c0f630b620904ce3153f8645d89d700.tar.gz
blog.nsfisis.dev-75402b673c0f630b620904ce3153f8645d89d700.tar.zst
blog.nsfisis.dev-75402b673c0f630b620904ce3153f8645d89d700.zip
implement cache busting for stylesheets
-rw-r--r--NOTE.md5
-rw-r--r--lib/command.rb19
-rw-r--r--lib/html_converter.rb16
-rw-r--r--lib/parser.rb4
-rw-r--r--nuldoc.rb4
-rw-r--r--public/posts/2021-03-05/my-first-post/index.html17
-rw-r--r--public/posts/2021-03-30/phperkaigi-2021/index.html111
-rw-r--r--public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html10
-rw-r--r--public/posts/2021-10-02/python-unbound-local-error/index.html10
-rw-r--r--public/posts/2021-10-02/ruby-detect-running-implementation/index.html10
-rw-r--r--public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html40
-rw-r--r--public/posts/2021-10-02/rust-where-are-primitive-types-from/index.html25
-rw-r--r--public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html35
-rw-r--r--public/posts/2021-10-02/vim-swap-order-of-selected-lines/index.html52
-rw-r--r--public/posts/2022-04-09/phperkaigi-2022-tokens/index.html126
-rw-r--r--public/posts/2022-04-24/term-banner-write-tool-showing-banner-in-terminal/index.html37
-rw-r--r--public/posts/2022-05-01/phperkaigi-2022/index.html49
-rw-r--r--public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html54
-rw-r--r--public/posts/2022-08-31/support-for-communty-is-employee-benefits/index.html27
-rw-r--r--public/posts/2022-09-29/write-fizzbuzz-in-php-2-letters-per-line/index.html74
-rw-r--r--public/posts/2022-10-23/phperkaigi-2023-unused-token-quiz-1/index.html37
-rw-r--r--public/posts/2022-10-28/setup-server-for-this-site/index.html143
-rw-r--r--public/posts/2022-11-19/phperkaigi-2023-unused-token-quiz-2/index.html37
-rw-r--r--public/posts/index.html20
-rw-r--r--public/tags/conference/index.html20
-rw-r--r--public/tags/cpp/index.html20
-rw-r--r--public/tags/cpp17/index.html20
-rw-r--r--public/tags/note-to-self/index.html20
-rw-r--r--public/tags/php/index.html20
-rw-r--r--public/tags/phpcon/index.html20
-rw-r--r--public/tags/phperkaigi/index.html20
-rw-r--r--public/tags/python/index.html20
-rw-r--r--public/tags/python3/index.html20
-rw-r--r--public/tags/ruby/index.html20
-rw-r--r--public/tags/ruby3/index.html20
-rw-r--r--public/tags/rust/index.html20
-rw-r--r--public/tags/vim/index.html20
-rw-r--r--templates/document__post.html.erb (renamed from templates/document.html.erb)8
-rw-r--r--templates/posts_list.html.erb8
-rw-r--r--templates/tag.html.erb8
40 files changed, 302 insertions, 944 deletions
diff --git a/NOTE.md b/NOTE.md
index 7adbcb2..8cc3a17 100644
--- a/NOTE.md
+++ b/NOTE.md
@@ -20,6 +20,7 @@ $ touch content/posts/$(date +'%Y-%m-%d')/[TITLE].md
* [x] Add /posts/ page
* [x] Stylesheets
* [x] Syntax highlight
+* [ ] Add /tags/ page
* [ ] Add / page
* [ ] Add /about/ page
* [ ] Add navigation bar
@@ -46,6 +47,10 @@ $ touch content/posts/$(date +'%Y-%m-%d')/[TITLE].md
* https://www.sitemaps.org/protocol.html
* https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap?hl=ja
* [ ] Admonitions
+* [x] Stylesheet cache busting
+* [ ] templates
+ * Define custom converter using ERB
+
## Structure
diff --git a/lib/command.rb b/lib/command.rb
index 81692b3..5662eec 100644
--- a/lib/command.rb
+++ b/lib/command.rb
@@ -4,9 +4,11 @@ module NulDoc
@config = config
@content_dir = @config[:content_dir]
@dest_dir = @config[:dest_dir]
+ @static_dir = @config[:static_dir]
@template_dir = @config[:template_dir]
@parser = NulDoc::Parser.new(
{
+ 'stylesheets' => stylesheets,
'author' => @config[:author],
'site-copyright-year' => @config[:site_copyright_year],
'site-name' => @config[:site_name],
@@ -43,7 +45,7 @@ module NulDoc
end
def parse_posts(post_file_paths)
- post_file_paths.map { @parser.parse_file(_1) }
+ post_file_paths.map { @parser.parse_file(_1, 'post') }
end
def output_posts(posts)
@@ -92,8 +94,9 @@ module NulDoc
end
def build_tag_doc(tag, posts)
- erb = ERB.new(File.read(@template_dir + '/tag.html.erb'))
+ erb = ERB.new(File.read(@template_dir + '/tag.html.erb'), trim_mode: '<>')
erb.result_with_hash({
+ stylesheets: stylesheets,
tag: tag,
posts: posts,
author: @config[:author],
@@ -124,8 +127,9 @@ module NulDoc
end
def build_posts_list_doc(posts)
- erb = ERB.new(File.read(@template_dir + '/posts_list.html.erb'))
+ erb = ERB.new(File.read(@template_dir + '/posts_list.html.erb'), trim_mode: '<>')
erb.result_with_hash({
+ stylesheets: stylesheets,
posts: posts.reverse,
author: @config[:author],
site_copyright_year: @config[:site_copyright_year],
@@ -148,5 +152,14 @@ module NulDoc
f.puts(html)
end
end
+
+ def stylesheets
+ stylesheet_file_names = %w[hl.css style.css custom.css]
+ stylesheet_file_names.map {|ss_file_name|
+ ss_file_path = "#{@static_dir}/#{ss_file_name}"
+ hash = Digest::MD5.file(ss_file_path).hexdigest
+ "/#{ss_file_name}?#{hash}"
+ }
+ end
end
end
diff --git a/lib/html_converter.rb b/lib/html_converter.rb
new file mode 100644
index 0000000..126d72a
--- /dev/null
+++ b/lib/html_converter.rb
@@ -0,0 +1,16 @@
+module NulDoc
+ class HTMLConverter < (Asciidoctor::Converter.for 'html5')
+ register_for 'html5'
+
+ def initialize(backend, opts)
+ super
+ @template_dir = opts[:template_dirs].first
+ end
+
+ def convert_document(node)
+ template_file_name = "document__#{node.attr('document-type')}.html.erb"
+ erb = Tilt::ERBTemplate.new("#{@template_dir}/#{template_file_name}")
+ erb.render(node, {})
+ end
+ end
+end
diff --git a/lib/parser.rb b/lib/parser.rb
index 8ae3303..e644dc6 100644
--- a/lib/parser.rb
+++ b/lib/parser.rb
@@ -6,7 +6,7 @@ module NulDoc
@template_dir = template_dir
end
- def parse_file(file_path)
+ def parse_file(file_path, document_type)
Asciidoctor.load_file(
file_path,
backend: :html5,
@@ -15,9 +15,11 @@ module NulDoc
safe: :unsafe,
template_dirs: [@template_dir],
template_engine: 'erb',
+ template_engine_options: { erb: { trim: '<>' } },
attributes: @common_attributes.merge({
'source-file-path' => file_path,
'href' => file_path.sub(@content_dir, '').sub('.adoc', '/'),
+ 'document-type' => document_type,
}),
extension_registry: Asciidoctor::Extensions.create do
tree_processor Nuldoc::Extensions::RevisionHistoryProcessor
diff --git a/nuldoc.rb b/nuldoc.rb
index 363383e..c702981 100644
--- a/nuldoc.rb
+++ b/nuldoc.rb
@@ -1,8 +1,11 @@
require 'date'
+require 'digest/md5'
require 'fileutils'
+
require 'asciidoctor'
require_relative 'lib/command'
+require_relative 'lib/html_converter'
require_relative 'lib/parser'
require_relative 'lib/extensions/document_title_processor'
require_relative 'lib/extensions/lang_attribute_processor'
@@ -20,5 +23,6 @@ NulDoc::Command.new({
site_copyright_year: 2021,
content_dir: __dir__ + '/content',
dest_dir: __dir__ + '/public',
+ static_dir: __dir__ + '/static',
template_dir: __dir__ + '/templates',
}).run
diff --git a/public/posts/2021-03-05/my-first-post/index.html b/public/posts/2021-03-05/my-first-post/index.html
index fbf7237..6ca0ae8 100644
--- a/public/posts/2021-03-05/my-first-post/index.html
+++ b/public/posts/2021-03-05/my-first-post/index.html
@@ -9,9 +9,13 @@
<meta name="keywords" content="">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>My First Post | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="single">
<header class="header">
@@ -38,12 +42,7 @@
</ol>
</section>
-
-
-
-
-
-<section class="section-1">
+ <section class="section-1">
<h2 id="" class="section-header">
Test
diff --git a/public/posts/2021-03-30/phperkaigi-2021/index.html b/public/posts/2021-03-30/phperkaigi-2021/index.html
index 46fce9b..965f0c9 100644
--- a/public/posts/2021-03-30/phperkaigi-2021/index.html
+++ b/public/posts/2021-03-30/phperkaigi-2021/index.html
@@ -9,9 +9,13 @@
<meta name="keywords" content="カンファレンス,PHP,PHPerKaigi">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>PHPerKaigi 2021 | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="single">
<header class="header">
@@ -54,12 +58,7 @@
</ol>
</section>
-
-
-
-
-
-<section class="section-1">
+ <section class="section-1">
<h2 id="" class="section-header">
PHPerKaigi 2021 参加レポ
@@ -81,11 +80,6 @@
<p>発表はトラック A、B に分かれていたのだが、今回はすべて A
トラックを視聴している (切り替えるのが面倒だっただけ)。</p>
</div>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -105,11 +99,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -117,12 +106,7 @@
</h3>
<div class="section-body">
-
-
-
-
-
-<section class="section-3">
+ <section class="section-3">
<h4 id="" class="section-header">
17:30 [A]
@@ -194,11 +178,6 @@ Laravel などでは動かなさそう)
</div>
</div>
</section>
-
-
-
-
-
<section class="section-3">
<h4 id="" class="section-header">
@@ -269,11 +248,6 @@ Laravel などでは動かなさそう)
</div>
</div>
</section>
-
-
-
-
-
<section class="section-3">
<h4 id="" class="section-header">
@@ -372,11 +346,6 @@ Laravel などでは動かなさそう)
</div>
</div>
</section>
-
-
-
-
-
<section class="section-3">
<h4 id="" class="section-header">
@@ -473,11 +442,6 @@ Laravel などでは動かなさそう)
</section>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -485,12 +449,7 @@ Laravel などでは動かなさそう)
</h3>
<div class="section-body">
-
-
-
-
-
-<section class="section-3">
+ <section class="section-3">
<h4 id="" class="section-header">
10:50 [A]
@@ -636,11 +595,6 @@ Laravel などでは動かなさそう)
</div>
</div>
</section>
-
-
-
-
-
<section class="section-3">
<h4 id="" class="section-header">
@@ -698,11 +652,6 @@ Ruby の typeprof には注目している。</p>
</div>
</div>
</section>
-
-
-
-
-
<section class="section-3">
<h4 id="" class="section-header">
@@ -715,11 +664,6 @@ Ruby の typeprof には注目している。</p>
</div>
</div>
</section>
-
-
-
-
-
<section class="section-3">
<h4 id="" class="section-header">
@@ -791,11 +735,6 @@ text markup * automation</p>
</div>
</div>
</section>
-
-
-
-
-
<section class="section-3">
<h4 id="" class="section-header">
@@ -812,11 +751,6 @@ text markup * automation</p>
</div>
</div>
</section>
-
-
-
-
-
<section class="section-3">
<h4 id="" class="section-header">
@@ -958,11 +892,6 @@ C言語時代への回帰ともいえるが、その頃と異なるのはエラ
</div>
</div>
</section>
-
-
-
-
-
<section class="section-3">
<h4 id="" class="section-header">
@@ -979,11 +908,6 @@ C言語時代への回帰ともいえるが、その頃と異なるのはエラ
</div>
</div>
</section>
-
-
-
-
-
<section class="section-3">
<h4 id="" class="section-header">
@@ -1046,11 +970,6 @@ streaming RPCs</p>
</div>
</div>
</section>
-
-
-
-
-
<section class="section-3">
<h4 id="" class="section-header">
@@ -1115,11 +1034,6 @@ private のみ * 依存関係の制御が困難</p>
</section>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -1135,11 +1049,6 @@ private のみ * 依存関係の制御が困難</p>
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
diff --git a/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html b/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html
index 16a8188..a3b1d50 100644
--- a/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html
+++ b/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html
@@ -9,9 +9,13 @@
<meta name="keywords" content="C++,C++ 17">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>【C++】属性構文の属性名にはキーワードが使える | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="single">
<header class="header">
diff --git a/public/posts/2021-10-02/python-unbound-local-error/index.html b/public/posts/2021-10-02/python-unbound-local-error/index.html
index 20e1e0e..b08be62 100644
--- a/public/posts/2021-10-02/python-unbound-local-error/index.html
+++ b/public/posts/2021-10-02/python-unbound-local-error/index.html
@@ -9,9 +9,13 @@
<meta name="keywords" content="Python,Python 3">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>【Python】クロージャとUnboundLocalError: local variable 'x' referenced before assignment | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="single">
<header class="header">
diff --git a/public/posts/2021-10-02/ruby-detect-running-implementation/index.html b/public/posts/2021-10-02/ruby-detect-running-implementation/index.html
index 6fe62d7..d248feb 100644
--- a/public/posts/2021-10-02/ruby-detect-running-implementation/index.html
+++ b/public/posts/2021-10-02/ruby-detect-running-implementation/index.html
@@ -9,9 +9,13 @@
<meta name="keywords" content="Ruby">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>【Ruby】自身を実行している処理系の種類を判定する | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="single">
<header class="header">
diff --git a/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html b/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html
index 7ddf636..b702b57 100644
--- a/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html
+++ b/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html
@@ -9,9 +9,13 @@
<meta name="keywords" content="Ruby,Ruby 3">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>【Ruby】then キーワードと case in | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="single">
<header class="header">
@@ -59,11 +63,6 @@
<hr>
</div>
</div>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -77,11 +76,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -133,11 +127,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -185,11 +174,6 @@ if true puts 'Hello, World!' end
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -238,11 +222,6 @@ if true puts 'Hello, World!' end
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -348,11 +327,6 @@ if true puts 'Hello, World!' end
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
diff --git a/public/posts/2021-10-02/rust-where-are-primitive-types-from/index.html b/public/posts/2021-10-02/rust-where-are-primitive-types-from/index.html
index 27f2632..008c79f 100644
--- a/public/posts/2021-10-02/rust-where-are-primitive-types-from/index.html
+++ b/public/posts/2021-10-02/rust-where-are-primitive-types-from/index.html
@@ -9,9 +9,13 @@
<meta name="keywords" content="Rust">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>Rust のプリミティブ型はどこからやって来るか | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="single">
<header class="header">
@@ -55,11 +59,6 @@
<hr>
</div>
</div>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -109,11 +108,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -289,11 +283,6 @@ ident) を現在のレキシカルスコープ内で解決 (resolve) する。
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
diff --git a/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html b/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html
index 94912ed..aafd8ab 100644
--- a/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html
+++ b/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html
@@ -9,9 +9,13 @@
<meta name="keywords" content="Vim">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>【Vim】autocmd events の BufWrite/BufWritePre の違い | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="single">
<header class="header">
@@ -55,11 +59,6 @@
<hr>
</div>
</div>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -72,11 +71,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -128,11 +122,6 @@ vim と neovim のソースコードを調査した。</p>
</div>
</blockquote>
</div>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -175,11 +164,6 @@ vim と neovim のソースコードを調査した。</p>
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -217,11 +201,6 @@ FileEncoding Obsolete. It still works and is equivalent
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
diff --git a/public/posts/2021-10-02/vim-swap-order-of-selected-lines/index.html b/public/posts/2021-10-02/vim-swap-order-of-selected-lines/index.html
index 2b66f2e..8e9c3ce 100644
--- a/public/posts/2021-10-02/vim-swap-order-of-selected-lines/index.html
+++ b/public/posts/2021-10-02/vim-swap-order-of-selected-lines/index.html
@@ -9,9 +9,13 @@
<meta name="keywords" content="Vim">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>Vimで選択した行の順番を入れ替える | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="single">
<header class="header">
@@ -55,11 +59,6 @@
<hr>
</div>
</div>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -80,11 +79,6 @@ version Included patches: 1-148 Huge version without GUI.</p>
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -92,12 +86,7 @@ version Included patches: 1-148 Huge version without GUI.</p>
</h2>
<div class="section-body">
-
-
-
-
-
-<section class="section-2">
+ <section class="section-2">
<h3 id="" class="section-header">
<code>tac</code> / <code>tail</code>
@@ -121,11 +110,6 @@ version Included patches: 1-148 Huge version without GUI.</p>
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -184,11 +168,6 @@ M行目を処理範囲とするよう拡張できる。手でこれを入力す
</section>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -212,11 +191,6 @@ M行目を処理範囲とするよう拡張できる。手でこれを入力す
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -292,11 +266,6 @@ highlighting state is saved and restored when executing autocommands
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -333,11 +302,6 @@ Exコマンドを「現在の検索パターンを保ったまま」実行する
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
diff --git a/public/posts/2022-04-09/phperkaigi-2022-tokens/index.html b/public/posts/2022-04-09/phperkaigi-2022-tokens/index.html
index afb6eac..7cd2d26 100644
--- a/public/posts/2022-04-09/phperkaigi-2022-tokens/index.html
+++ b/public/posts/2022-04-09/phperkaigi-2022-tokens/index.html
@@ -9,9 +9,13 @@
<meta name="keywords" content="カンファレンス,PHP,PHPerKaigi">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>PHPerKaigi 2022 トークン問題の解説 | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="single">
<header class="header">
@@ -58,12 +62,7 @@
</ol>
</section>
-
-
-
-
-
-<section class="section-1">
+ <section class="section-1">
<h2 id="" class="section-header">
はじめに
@@ -81,11 +80,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -172,11 +166,6 @@
<div class="paragraph">
<p>この問題は、単に適切なバージョンの PHP で動かせばトークンが得られる。</p>
</div>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -184,12 +173,7 @@
</h3>
<div class="section-body">
-
-
-
-
-
-<section class="section-3">
+ <section class="section-3">
<h4 id="" class="section-header">
絵文字
@@ -202,11 +186,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-3">
<h4 id="" class="section-header">
@@ -291,11 +270,6 @@ Wikipedia の該当ページを読んだ方がよい。</p>
</div>
</div>
</section>
-
-
-
-
-
<section class="section-3">
<h4 id="" class="section-header">
@@ -310,11 +284,6 @@ Wikipedia の該当ページを読んだ方がよい。</p>
</div>
</div>
</section>
-
-
-
-
-
<section class="section-3">
<h4 id="" class="section-header">
@@ -329,11 +298,6 @@ Wikipedia の該当ページを読んだ方がよい。</p>
</div>
</div>
</section>
-
-
-
-
-
<section class="section-3">
<h4 id="" class="section-header">
@@ -355,11 +319,6 @@ Wikipedia の該当ページを読んだ方がよい。</p>
</div>
</div>
</section>
-
-
-
-
-
<section class="section-3">
<h4 id="" class="section-header">
@@ -395,11 +354,6 @@ PHP では、型変換を利用することで任意の整数を作り出すこ
</div>
</div>
</section>
-
-
-
-
-
<section class="section-3">
<h4 id="" class="section-header">
@@ -415,11 +369,6 @@ PHP では、型変換を利用することで任意の整数を作り出すこ
</div>
</div>
</section>
-
-
-
-
-
<section class="section-3">
<h4 id="" class="section-header">
@@ -447,11 +396,6 @@ Z コンビネータとして知られるものを使った (<code>$z</code>)。
</section>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -508,11 +452,6 @@ Z コンビネータとして知られるものを使った (<code>$z</code>)。
<div class="paragraph">
<p>ここでは、私の想定解を解説する。</p>
</div>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -567,11 +506,6 @@ Z コンビネータとして知られるものを使った (<code>$z</code>)。
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -607,11 +541,6 @@ Z コンビネータとして知られるものを使った (<code>$z</code>)。
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -684,11 +613,6 @@ Z コンビネータとして知られるものを使った (<code>$z</code>)。
</section>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -743,11 +667,6 @@ Q;</span>
<div class="paragraph">
<p>実際にはもう少しパイプで繋げなければならない。</p>
</div>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -755,12 +674,7 @@ Q;</span>
</h3>
<div class="section-body">
-
-
-
-
-
-<section class="section-3">
+ <section class="section-3">
<h4 id="" class="section-header">
プログラム全体
@@ -778,11 +692,6 @@ Quine
</div>
</div>
</section>
-
-
-
-
-
<section class="section-3">
<h4 id="" class="section-header">
@@ -796,11 +705,6 @@ Quine
</div>
</div>
</section>
-
-
-
-
-
<section class="section-3">
<h4 id="" class="section-header">
@@ -816,11 +720,6 @@ Quine
</div>
</div>
</section>
-
-
-
-
-
<section class="section-3">
<h4 id="" class="section-header">
@@ -842,11 +741,6 @@ Quine
</section>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
diff --git a/public/posts/2022-04-24/term-banner-write-tool-showing-banner-in-terminal/index.html b/public/posts/2022-04-24/term-banner-write-tool-showing-banner-in-terminal/index.html
index 628d3f8..64cf418 100644
--- a/public/posts/2022-04-24/term-banner-write-tool-showing-banner-in-terminal/index.html
+++ b/public/posts/2022-04-24/term-banner-write-tool-showing-banner-in-terminal/index.html
@@ -9,9 +9,13 @@
<meta name="keywords" content="">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>term-banner: ターミナルにバナーを表示するツールを書いた | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="single">
<header class="header">
@@ -42,12 +46,7 @@
</ol>
</section>
-
-
-
-
-
-<section class="section-1">
+ <section class="section-1">
<h2 id="" class="section-header">
はじめに
@@ -74,11 +73,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -112,11 +106,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -153,11 +142,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -195,11 +179,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
diff --git a/public/posts/2022-05-01/phperkaigi-2022/index.html b/public/posts/2022-05-01/phperkaigi-2022/index.html
index 4168136..e6f5972 100644
--- a/public/posts/2022-05-01/phperkaigi-2022/index.html
+++ b/public/posts/2022-05-01/phperkaigi-2022/index.html
@@ -9,9 +9,13 @@
<meta name="keywords" content="カンファレンス,PHP,PHPerKaigi">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>PHPerKaigi 2022 | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="single">
<header class="header">
@@ -54,12 +58,7 @@
</ol>
</section>
-
-
-
-
-
-<section class="section-1">
+ <section class="section-1">
<h2 id="" class="section-header">
はじめに
@@ -78,11 +77,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -90,12 +84,7 @@
</h2>
<div class="section-body">
-
-
-
-
-
-<section class="section-2">
+ <section class="section-2">
<h3 id="" class="section-header">
厳選おすすめトーク
@@ -190,11 +179,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -208,11 +192,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -227,11 +206,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -272,11 +246,6 @@
</section>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
diff --git a/public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html b/public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html
index 471678a..5158536 100644
--- a/public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html
+++ b/public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html
@@ -9,9 +9,13 @@
<meta name="keywords" content="カンファレンス,PHP,PHP カンファレンス">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>PHP カンファレンス沖縄で出題されたコードゴルフの問題を解いてみた | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="single">
<header class="header">
@@ -54,12 +58,7 @@
</ol>
</section>
-
-
-
-
-
-<section class="section-1">
+ <section class="section-1">
<h2 id="" class="section-header">
はじめに
@@ -81,11 +80,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -147,11 +141,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -159,12 +148,7 @@
</h2>
<div class="section-body">
-
-
-
-
-
-<section class="section-2">
+ <section class="section-2">
<h3 id="" class="section-header">
指数表記
@@ -178,11 +162,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -197,11 +176,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -227,11 +201,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -248,11 +217,6 @@
</section>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
diff --git a/public/posts/2022-08-31/support-for-communty-is-employee-benefits/index.html b/public/posts/2022-08-31/support-for-communty-is-employee-benefits/index.html
index e452599..2d48422 100644
--- a/public/posts/2022-08-31/support-for-communty-is-employee-benefits/index.html
+++ b/public/posts/2022-08-31/support-for-communty-is-employee-benefits/index.html
@@ -9,9 +9,13 @@
<meta name="keywords" content="">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>弊社の PHP Foundation への寄付に寄せて | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="single">
<header class="header">
@@ -38,12 +42,7 @@
</ol>
</section>
-
-
-
-
-
-<section class="section-1">
+ <section class="section-1">
<h2 id="" class="section-header">
はじめに
@@ -67,11 +66,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -113,11 +107,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
diff --git a/public/posts/2022-09-29/write-fizzbuzz-in-php-2-letters-per-line/index.html b/public/posts/2022-09-29/write-fizzbuzz-in-php-2-letters-per-line/index.html
index c2dc8ab..a1d8cf9 100644
--- a/public/posts/2022-09-29/write-fizzbuzz-in-php-2-letters-per-line/index.html
+++ b/public/posts/2022-09-29/write-fizzbuzz-in-php-2-letters-per-line/index.html
@@ -9,9 +9,13 @@
<meta name="keywords" content="PHP">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>【PHP】fizzbuzz を書く。1行あたり2文字で。 | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="single">
<header class="header">
@@ -50,12 +54,7 @@
</ol>
</section>
-
-
-
-
-
-<section class="section-1">
+ <section class="section-1">
<h2 id="" class="section-header">
記事の構成について
@@ -70,11 +69,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -132,11 +126,6 @@ off になっている環境が多いようなので、今回は使わないこ
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -299,11 +288,6 @@ a'</span>
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -311,12 +295,7 @@ a'</span>
</h2>
<div class="section-body">
-
-
-
-
-
-<section class="section-2">
+ <section class="section-2">
<h3 id="" class="section-header">
普通の (?) fizzbuzz
@@ -341,11 +320,6 @@ for ($i = 1; $i &lt; 100; $i++) {
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -378,11 +352,6 @@ for ($i = 1; $i &lt; 100; $i++) {
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -418,11 +387,6 @@ for ($i = 1; $i &lt; 100; $i++) {
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -482,11 +446,6 @@ PHP 7.x までの仕様が利用できる。例えば、 <code>Fizz</code>
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -586,11 +545,6 @@ o'</span>
</section>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -756,11 +710,6 @@ _!
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -778,11 +727,6 @@ _!
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
diff --git a/public/posts/2022-10-23/phperkaigi-2023-unused-token-quiz-1/index.html b/public/posts/2022-10-23/phperkaigi-2023-unused-token-quiz-1/index.html
index efb7239..fe5b6a5 100644
--- a/public/posts/2022-10-23/phperkaigi-2023-unused-token-quiz-1/index.html
+++ b/public/posts/2022-10-23/phperkaigi-2023-unused-token-quiz-1/index.html
@@ -9,9 +9,13 @@
<meta name="keywords" content="PHP,PHPerKaigi">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>PHPerKaigi 2023: ボツになったトークン問題 その 1 | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="single">
<header class="header">
@@ -50,12 +54,7 @@
</ol>
</section>
-
-
-
-
-
-<section class="section-1">
+ <section class="section-1">
<h2 id="" class="section-header">
はじめに
@@ -83,11 +82,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -126,11 +120,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -175,11 +164,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -257,11 +241,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
diff --git a/public/posts/2022-10-28/setup-server-for-this-site/index.html b/public/posts/2022-10-28/setup-server-for-this-site/index.html
index c070c03..67587e1 100644
--- a/public/posts/2022-10-28/setup-server-for-this-site/index.html
+++ b/public/posts/2022-10-28/setup-server-for-this-site/index.html
@@ -9,9 +9,13 @@
<meta name="keywords" content="備忘録">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>【備忘録】このサイト用の VPS をセットアップしたときのメモ | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="single">
<header class="header">
@@ -46,12 +50,7 @@
</ol>
</section>
-
-
-
-
-
-<section class="section-1">
+ <section class="section-1">
<h2 id="" class="section-header">
はじめに
@@ -68,11 +67,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -86,11 +80,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -98,12 +87,7 @@
</h2>
<div class="section-body">
-
-
-
-
-
-<section class="section-2">
+ <section class="section-2">
<h3 id="" class="section-header">
サーバのホスト名を決める
@@ -117,11 +101,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -144,11 +123,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -172,11 +146,6 @@
</section>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -184,12 +153,7 @@
</h2>
<div class="section-body">
-
-
-
-
-
-<section class="section-2">
+ <section class="section-2">
<h3 id="" class="section-header">
SSH 接続
@@ -201,11 +165,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -227,11 +186,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -246,11 +200,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -271,11 +220,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -316,11 +260,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -340,11 +279,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -369,11 +303,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -421,11 +350,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -446,11 +370,6 @@
</section>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -458,12 +377,7 @@
</h2>
<div class="section-body">
-
-
-
-
-
-<section class="section-2">
+ <section class="section-2">
<h3 id="" class="section-header">
DNS に IP アドレスを登録する
@@ -476,11 +390,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -495,11 +404,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -514,11 +418,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -539,11 +438,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -561,11 +455,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -581,11 +470,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-2">
<h3 id="" class="section-header">
@@ -602,11 +486,6 @@
</section>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
diff --git a/public/posts/2022-11-19/phperkaigi-2023-unused-token-quiz-2/index.html b/public/posts/2022-11-19/phperkaigi-2023-unused-token-quiz-2/index.html
index 8ca3e92..439586b 100644
--- a/public/posts/2022-11-19/phperkaigi-2023-unused-token-quiz-2/index.html
+++ b/public/posts/2022-11-19/phperkaigi-2023-unused-token-quiz-2/index.html
@@ -9,9 +9,13 @@
<meta name="keywords" content="PHP,PHPerKaigi">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>PHPerKaigi 2023: ボツになったトークン問題 その 2 | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="single">
<header class="header">
@@ -50,12 +54,7 @@
</ol>
</section>
-
-
-
-
-
-<section class="section-1">
+ <section class="section-1">
<h2 id="" class="section-header">
はじめに
@@ -80,11 +79,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -114,11 +108,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -182,11 +171,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
@@ -247,11 +231,6 @@
</div>
</div>
</section>
-
-
-
-
-
<section class="section-1">
<h2 id="" class="section-header">
diff --git a/public/posts/index.html b/public/posts/index.html
index 1207acd..cce86d9 100644
--- a/public/posts/index.html
+++ b/public/posts/index.html
@@ -1,13 +1,3 @@
-
-
-
-
-
-
-
-
-
-
<!DOCTYPE html>
<html lang="ja-JP">
<head>
@@ -18,9 +8,13 @@
<meta name="description" content="記事一覧">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>Posts | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="list">
<header class="header">
diff --git a/public/tags/conference/index.html b/public/tags/conference/index.html
index 4423eee..757ab24 100644
--- a/public/tags/conference/index.html
+++ b/public/tags/conference/index.html
@@ -1,13 +1,3 @@
-
-
-
-
-
-
-
-
-
-
<!DOCTYPE html>
<html lang="ja-JP">
<head>
@@ -18,9 +8,13 @@
<meta name="description" content="タグ「カンファレンス」のついた記事一覧">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>カンファレンス | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="list">
<header class="header">
diff --git a/public/tags/cpp/index.html b/public/tags/cpp/index.html
index 5cc157b..5f831c4 100644
--- a/public/tags/cpp/index.html
+++ b/public/tags/cpp/index.html
@@ -1,13 +1,3 @@
-
-
-
-
-
-
-
-
-
-
<!DOCTYPE html>
<html lang="ja-JP">
<head>
@@ -18,9 +8,13 @@
<meta name="description" content="タグ「C++」のついた記事一覧">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>C++ | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="list">
<header class="header">
diff --git a/public/tags/cpp17/index.html b/public/tags/cpp17/index.html
index 5585a26..77e426a 100644
--- a/public/tags/cpp17/index.html
+++ b/public/tags/cpp17/index.html
@@ -1,13 +1,3 @@
-
-
-
-
-
-
-
-
-
-
<!DOCTYPE html>
<html lang="ja-JP">
<head>
@@ -18,9 +8,13 @@
<meta name="description" content="タグ「C++ 17」のついた記事一覧">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>C++ 17 | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="list">
<header class="header">
diff --git a/public/tags/note-to-self/index.html b/public/tags/note-to-self/index.html
index 4cdabd6..d73bf03 100644
--- a/public/tags/note-to-self/index.html
+++ b/public/tags/note-to-self/index.html
@@ -1,13 +1,3 @@
-
-
-
-
-
-
-
-
-
-
<!DOCTYPE html>
<html lang="ja-JP">
<head>
@@ -18,9 +8,13 @@
<meta name="description" content="タグ「備忘録」のついた記事一覧">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>備忘録 | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="list">
<header class="header">
diff --git a/public/tags/php/index.html b/public/tags/php/index.html
index c20c486..094f012 100644
--- a/public/tags/php/index.html
+++ b/public/tags/php/index.html
@@ -1,13 +1,3 @@
-
-
-
-
-
-
-
-
-
-
<!DOCTYPE html>
<html lang="ja-JP">
<head>
@@ -18,9 +8,13 @@
<meta name="description" content="タグ「PHP」のついた記事一覧">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>PHP | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="list">
<header class="header">
diff --git a/public/tags/phpcon/index.html b/public/tags/phpcon/index.html
index 45fe74f..266ae5c 100644
--- a/public/tags/phpcon/index.html
+++ b/public/tags/phpcon/index.html
@@ -1,13 +1,3 @@
-
-
-
-
-
-
-
-
-
-
<!DOCTYPE html>
<html lang="ja-JP">
<head>
@@ -18,9 +8,13 @@
<meta name="description" content="タグ「PHP カンファレンス」のついた記事一覧">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>PHP カンファレンス | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="list">
<header class="header">
diff --git a/public/tags/phperkaigi/index.html b/public/tags/phperkaigi/index.html
index 3a536bc..2fed4df 100644
--- a/public/tags/phperkaigi/index.html
+++ b/public/tags/phperkaigi/index.html
@@ -1,13 +1,3 @@
-
-
-
-
-
-
-
-
-
-
<!DOCTYPE html>
<html lang="ja-JP">
<head>
@@ -18,9 +8,13 @@
<meta name="description" content="タグ「PHPerKaigi」のついた記事一覧">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>PHPerKaigi | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="list">
<header class="header">
diff --git a/public/tags/python/index.html b/public/tags/python/index.html
index b15dfb6..f178bae 100644
--- a/public/tags/python/index.html
+++ b/public/tags/python/index.html
@@ -1,13 +1,3 @@
-
-
-
-
-
-
-
-
-
-
<!DOCTYPE html>
<html lang="ja-JP">
<head>
@@ -18,9 +8,13 @@
<meta name="description" content="タグ「Python」のついた記事一覧">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>Python | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="list">
<header class="header">
diff --git a/public/tags/python3/index.html b/public/tags/python3/index.html
index 2824a04..d2401bc 100644
--- a/public/tags/python3/index.html
+++ b/public/tags/python3/index.html
@@ -1,13 +1,3 @@
-
-
-
-
-
-
-
-
-
-
<!DOCTYPE html>
<html lang="ja-JP">
<head>
@@ -18,9 +8,13 @@
<meta name="description" content="タグ「Python 3」のついた記事一覧">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>Python 3 | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="list">
<header class="header">
diff --git a/public/tags/ruby/index.html b/public/tags/ruby/index.html
index 40c7b4f..ebfbfd4 100644
--- a/public/tags/ruby/index.html
+++ b/public/tags/ruby/index.html
@@ -1,13 +1,3 @@
-
-
-
-
-
-
-
-
-
-
<!DOCTYPE html>
<html lang="ja-JP">
<head>
@@ -18,9 +8,13 @@
<meta name="description" content="タグ「Ruby」のついた記事一覧">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>Ruby | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="list">
<header class="header">
diff --git a/public/tags/ruby3/index.html b/public/tags/ruby3/index.html
index 47a47b7..029cd8a 100644
--- a/public/tags/ruby3/index.html
+++ b/public/tags/ruby3/index.html
@@ -1,13 +1,3 @@
-
-
-
-
-
-
-
-
-
-
<!DOCTYPE html>
<html lang="ja-JP">
<head>
@@ -18,9 +8,13 @@
<meta name="description" content="タグ「Ruby 3」のついた記事一覧">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>Ruby 3 | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="list">
<header class="header">
diff --git a/public/tags/rust/index.html b/public/tags/rust/index.html
index da5efee..cdf3ae9 100644
--- a/public/tags/rust/index.html
+++ b/public/tags/rust/index.html
@@ -1,13 +1,3 @@
-
-
-
-
-
-
-
-
-
-
<!DOCTYPE html>
<html lang="ja-JP">
<head>
@@ -18,9 +8,13 @@
<meta name="description" content="タグ「Rust」のついた記事一覧">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>Rust | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="list">
<header class="header">
diff --git a/public/tags/vim/index.html b/public/tags/vim/index.html
index e76b079..6046bd5 100644
--- a/public/tags/vim/index.html
+++ b/public/tags/vim/index.html
@@ -1,13 +1,3 @@
-
-
-
-
-
-
-
-
-
-
<!DOCTYPE html>
<html lang="ja-JP">
<head>
@@ -18,9 +8,13 @@
<meta name="description" content="タグ「Vim」のついた記事一覧">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>Vim | REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="/style.css">
- <link rel="stylesheet" href="/custom.css">
+
+ <link rel="stylesheet" href="/hl.css?208c52e3b7c9db1cad782c5d30b4698f">
+
+ <link rel="stylesheet" href="/style.css?779b1a3debcaeba619f6fe500e93d525">
+
+ <link rel="stylesheet" href="/custom.css?a649ea3528d4b626fb636505d94c1144">
+
</head>
<body class="list">
<header class="header">
diff --git a/templates/document.html.erb b/templates/document__post.html.erb
index 9d93696..bc9a842 100644
--- a/templates/document.html.erb
+++ b/templates/document__post.html.erb
@@ -1,4 +1,4 @@
-<% _main_stylesheet = '/style.css' %>
+<% _stylesheets = attr 'stylesheets' %>
<% _author = attr 'author' %>
<% _description = attr 'description' %>
<% _lang = attr 'lang' %>
@@ -21,9 +21,9 @@
<meta name="keywords" content="<%= _tags.map(&:label).join(',') %>">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title><%= _doctitle %> | <%= _site_name %></title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="<%= _main_stylesheet %>">
- <link rel="stylesheet" href="/custom.css">
+ <% for stylesheet in _stylesheets %>
+ <link rel="stylesheet" href="<%= stylesheet %>">
+ <% end %>
</head>
<body class="single">
<header class="header">
diff --git a/templates/posts_list.html.erb b/templates/posts_list.html.erb
index 2227241..5367258 100644
--- a/templates/posts_list.html.erb
+++ b/templates/posts_list.html.erb
@@ -1,4 +1,4 @@
-<% _main_stylesheet = '/style.css' %>
+<% _stylesheets = stylesheets %>
<% _author = author %>
<% _description = description %>
<% _lang = lang %>
@@ -18,9 +18,9 @@
<meta name="description" content="<%= _description %>">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title><%= _doctitle %> | <%= _site_name %></title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="<%= _main_stylesheet %>">
- <link rel="stylesheet" href="/custom.css">
+ <% for stylesheet in _stylesheets %>
+ <link rel="stylesheet" href="<%= stylesheet %>">
+ <% end %>
</head>
<body class="list">
<header class="header">
diff --git a/templates/tag.html.erb b/templates/tag.html.erb
index 7fd23cd..c92c0ca 100644
--- a/templates/tag.html.erb
+++ b/templates/tag.html.erb
@@ -1,4 +1,4 @@
-<% _main_stylesheet = '/style.css' %>
+<% _stylesheets = stylesheets %>
<% _author = author %>
<% _description = description %>
<% _lang = lang %>
@@ -18,9 +18,9 @@
<meta name="description" content="<%= _description %>">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title><%= _doctitle %> | <%= _site_name %></title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="<%= _main_stylesheet %>">
- <link rel="stylesheet" href="/custom.css">
+ <% for stylesheet in _stylesheets %>
+ <link rel="stylesheet" href="<%= stylesheet %>">
+ <% end %>
</head>
<body class="list">
<header class="header">