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
More Decks by Matsuo Obu
See All by Matsuo Obu
Reactの歴史
mqtsuo02
0
1.1k
文学作品「檸檬」をReactで読む
mqtsuo02
1
520
EmotionでReactをstylingすればモテるかもしれない
mqtsuo02
0
650
僕が求めていたのは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
ゲームコントローラやキーボードのファームウェアをSwiftで書く
kishikawakatsumi
1
270
速く作れる。その次は、速く確かめられる開発へ 〜AIネイティブ開発を支える、Shift Down〜 / Can build fast. Next, moving to development where we can verify fast.
rkaga
8
5.4k
JAWS-UG 東京支部が始める、JAWS-UG支部コラボ / JAWS-UG lunchtime LT Collaboration
y0hgi
0
170
仕様駆動開発による爆速プロダクト開発 / Bakusoku Spec Driven Development
kobakei
0
160
技術的負債の返済は、AI時代の複利で効く投資 — 経営としての意思決定とその遂行
curekoshimizu
1
2.1k
スマートフォンでモールス信号を送受信する 〜スマートフォンのLEDとカメラで作る光通信の設計と実装〜
atsuki_seo
0
220
テストを司るデーモンに会いに行く 〜隔離した仮想マシンでテストを通すまで〜
h1d3mun3
1
600
世界の中心で、AI(App Intents)をさけぶ ー App Intents中心設計の実践ガイド
touyou
0
750
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
380
速習iPhone Duo対応
yuukiw00w
2
930
20260914 AIエージェント時代のPlatform Engineering LLM基盤とプロダクトの責務境界線
kanfab1
7
2.3k
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
33
14k
Featured
See All Featured
BBQ
matthewcrist
89
10k
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.2k
Typedesign – Prime Four
hannesfritz
42
3.2k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
420
Java REST API Framework Comparison - PWX 2021
mraible
34
9.7k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
200
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
270
A Tale of Four Properties
chriscoyier
163
24k
Transcript
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をカスタマイズしたい
おわり。