Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
JekyllとBootstrapを使って静的なブログを作ってみたよ
Search
Matsuo Obu
April 26, 2017
Programming
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
JekyllとBootstrapを使って静的なブログを作ってみたよ
JekyllとBootstrapを使って静的なブログを作ってみた話。「俺の話を聞け!!LT大会 #2」で発表 (2017-04-26)
Matsuo Obu
April 26, 2017
Transcript
19 slides
JekyllとBootstrapを使って 静的なブログを作ってみたよ @mqtsuo02 date: 2017-04-26
自己紹介 Matsuo Obu @mqtsuo02 言語とか:Ruby, JS, JAVA, Objective-C 経歴とか:経理 →
SIer → Web 住居とか:福岡, 東京, 栃木, 千葉, ベトナム 趣味とか:たまにDTM、たまにアニメ SNSとか:Facebook, Twitter
作ったもの http://46times.lol
静的サイトジェネレータを使いました。
もくじ » 静的サイトジェネレータとは? » JekyllBootstrapの仕組み » JekyllBootstrapの中身 » カスタマイズしたとこ »
所感
静的サイトジェネレータとは? » 規則に従って作成された設定ファイルやマークダウン ファイルを元にして、静的なサイトを生成してくれる » 本来ならば動的なフレームワークを使用して実装される ブログ等が、静的なサイトとして実装できる (パーマリンク、カテゴリ、タグ、記事を自動生成)
色々な言語ベースでツールがある Rubyの知識 + ブログが作りたかった → Jekyll StaticGen https://www.staticgen.com/
JekyllBootstrapの仕組み 規則 » ファイル名 » 格納path » yaml設定値 » マークダウン
/ index.html / about.html / post / ... / css / ... / img / ... JekyllBootstap : http://jekyllbootstrap.com/ ビルド
JekyllBotstrapの中身
_postsには記事を置く » YYYY-MM-DD-post_title.md
_postsには記事を置く yaml設定値 マークダウンで 記事を書く
_config.ymlに設定いろいろ パーマリンク設定 <head> 情報 ページネーション設定 gem設定 任意の定数
ビルドするとこんな感じ » /web/2017/04/jekyll_bootstrap4/ » /web/2017/04/s3_route53/
カスタマイズしたとこ » Bootstrap 2 → 4 » previmのcssを拝借した » Font
Awesome入れた » jekyll-paginate入れた » 各リストの生成スクリプトとか
各リストの生成スクリプト (๑•﹏•) < ERBみたいだけど違うよ、Liquidだよ
こうしてできたのがコレ
None
所感 » Jekyllはいいぞ » マークダウンスキーにはたまらない » 簡単・速い・楽ちん » 静的であることの安心感 »
gemをカスタマイズしたい
おわり。
More Decks by Matsuo Obu
See All by Matsuo Obu
Reactの歴史
mqtsuo02
0
1.1k
文学作品「檸檬」をReactで読む
mqtsuo02
1
530
EmotionでReactをstylingすればモテるかもしれない
mqtsuo02
0
660
僕が求めていたのはNext.jsだったんだ
mqtsuo02
0
720
Repro Tech Hands-on : Nuxt.js
mqtsuo02
1
960
ピピピのPWA
mqtsuo02
0
780
GraphQLについての5分間
mqtsuo02
0
840
Create React App 読解特急
mqtsuo02
0
130
Other Decks in Programming
See All in Programming
AIが生成したコードは読むべきか?抽象化設計とコードの品質保証 / abstraction-design-and-quality
minodriven
17
9.5k
JavaScriptはシングルバイナリの夢を見るか / Does JavaScript Dream of a Single Binary?
ssssota
0
200
はじめてのKubernetesコントリビューション
nasa9084
0
320
The Cost of the DOM
ypresto
2
270
Claude Codeのおかげでやりたいことがやれるようになったんだよォー!
sms_tech
0
190
はじめてのPLATEAU
nokonoko1203
1
670
Lean で手続き的プログラム の証明が書けるようになった
inoueasei
2
550
動画プレイヤーはなぜカクつくのか 〜Flutterのレンダリングとネイティブの境界を解剖する〜
naruogram
0
340
AWS CDKを理解するために公式の定義を深掘って解説してみる / Understanding AWS CDK by Digging into Its Official Definition
akihisaikeda
3
340
SODA - FACT BOOK(JP)
sodainc
1
40k
Kotlin JVM用に作られたライブラリのKMPを前提とした再設計
jsoizo
0
230
手の動かし方がわからなかった私が個人開発者になるまで
usagi0920_pochi
0
340
Featured
See All Featured
Navigating Weather and Climate Data
rabernat
0
600
Web Performance Is a Journey [PerfNow 2026]
tammyeverts
2
160
How to Think Like a Performance Engineer
csswizardry
28
3k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
490
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
530
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
340
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.6k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
340
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
590
Building Better People: How to give real-time feedback that sticks.
wjessup
371
20k
What does AI have to do with Human Rights?
axbom
PRO
1
2.5k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2.1k