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
一手打造你的專屬網誌-Hexo 簡介及教學
Search
Irene Chang
April 07, 2016
Technology
570
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
一手打造你的專屬網誌-Hexo 簡介及教學
2016 - 04 - 07 @ NCC x 第二次社聚
Irene Chang
April 07, 2016
Transcript
18 slides
Ұखଧ㟬తሢሱࢽ Hexo؆հٴڭላ 2016 - 04 - 07 @ NCCxୈೋ࣍ࣾᡉ Irene
Chang
None
ॄኄੋࢽᐽՍ(Blog Framework)ʁ ‣ ෆಉԙ WordPress, Tumblr, Blogger ઢ্ࢽฏ ɼࢽᐽՍՄҎᩋ㟬ࡏࣗݾతిᡵ᫊ᱷฤሜจষɻ ‣
धཁᯩଶท(ex. GitHub Pages)తबೳ᫊ ᱷՍઃ㟬తࢽɻ ‣ ࢽฏఏڙ㚎ݐฤाثᢛଟᒬత݅ɼ૬ֱ೭Լɼ ࢽᐽՍڧௐ؆ᄸᢛɼᩋ㟬ߋሢࡏሜ࡞্ɻ
https://ghost.org/ https://jekyllrb.com/ http://octopress.org/
շɺ؆ᄸڧେతࢽᐽՍ https://hexo.io/zh-tw/ தจ൛จ݅ʂ
҆Node.js A https://nodejs.org/
҆Hexo݅ $ npm install hexo-cli -g B
GitHub ‣ զ၇ሡ။ࢽՍઃࡏ GitHub Pages ্ɼ㟬။धཁ༗Ұ GitHubతாᥒ ‣ 㟬ՄҎબᎩՍઃࡏݸਓత username.github.io
҃ऀusername.github.io/blog/ ‣ ݐཱҰݸ৽తrepositoryɼ໋໊blog C
ݐཱ৽ࢽ D ‣ ሡrepositoryԼိɼฒݐཱHexoڥ $ git clone github.com/user/repository.git $ cd
repository $ hexo init $ npm install $ npm install hexo-deployer-git --save
։࢝ሜจষ㠧ʂ E $ hexo new "title" ‣ Hexo༻Markdown֨ࣜိฤሜ㚎จɼMarkdownత ඪੋመݱʮқᩇқሜʯɼख़࿅೭ޙศՄҎ༗Ꮘકሜ จষ
‣ ༻Macత๎༑ɼਪનMarkdownฤሜೈᱪɿ MacDown(http://macdown.uranusjr.com/)
ሢҊࢿྉᇄ݁ߏ . ├── _config.yml ├── package.json ├── scaffolds ├── scripts
├── source | ├── _drafts | └── _posts └── themes ‣ ৽ ⃧ త จ ষ ။ ์ ࡏ ༬ ઃ త./source/_posts ࢿ ྉᇄ೭Լɻ༻㟬تѪతฤ ाث։࢝ሜจষ㠧ʂ
ߋ৽ᯩଶท໘ F $ hexo generate ‣ 編輯或修改完後,⼿手動產⽣生 / 更新靜態⾴頁⾯面
啟ಈث G $ hexo server ‣ Hexo༬ઃత࿈ੋɼ༻ᖣ᧸ث։啟 localhost:4000बೳࡏࣗݾతిᡵᖣ᧸ࢽ
٬Խ㟬తࢽ H ‣ मվࠜ㑚త_config.yml䈕Ҋ ‣ ڐଟHexoత༻ऀఏڙଟᒬతओɼ༗ڵझత๎༑ՄҎ ჩߟɿhttps://hexo.io/themes/
෦ॺઃఆ I # URL url: http://username.github.io/blog root: /blog/ ‣ मվ_config.yml
䈕ɿ # Deployment deploy: type: git repo: https://github.com/username/blog branch: gh-pages
ਪ౸GitHub Page J $ hexo deploy ‣ ޙɼबՄҎࡏhttp://username.github.io(/blog/) ౸ 㟬తࢽ㡎ʂʢ෦ॺޙधཁز࠽။ߋ৽ʣ
ߋ৽ K $ hexo generate -d ‣ ৽⃧҃मվ೭ޙɼ㗞ੜ৽ท໘ฒ෦ॺ౸ઢ্ɻ
ํதจ൛จ݅ɿhttps://hexo.io/zh-tw/ ᓣܴᨑҎٴ࣋᠃᪦զ:-) http://irene84111.github.io/blog Thank You!
More Decks by Irene Chang
See All by Irene Chang
前端初心者談,合作過程與學習經驗
irene84111
0
200
NCC-JavaScript-Week#7
irene84111
0
150
NCC-JavaScript-Week#6
irene84111
0
160
NCC-JavaScript-Week#5
irene84111
0
77
NCC-SublimeText-InstallationTutorial
irene84111
0
55
NCC-JavaScript-Week#4
irene84111
0
48
NCC-JavaScript-Week#3
irene84111
0
130
NCC-JavaScript-Week#2
irene84111
0
240
NCC-JavaScript-Week#1
irene84111
0
200
Other Decks in Technology
See All in Technology
メルカリの小規模チーム「Pod」で、 エンジニアがデータアナリストなしで、 AIを使ってデータ分析の自走を目指す取り組み
jackojacko_
1
400
New Relicのアラート対応をClaude Codeで自動修正するワークフローを作った話
manabuseki
3
760
現場に渡し、構造で守る AI エージェントを活用したセルフサーブのデータ基盤の運用
legalontechnologies
PRO
0
180
AWS AIB 受験体験記!~練習問題を AI に作らせてみて感じたこと~
ysuzuki
0
110
Kiro のリモートワークスペース: IDE は手元のままで、ワークスペースをクラウド、コンテナ、自前のマシンに置く
inariku
PRO
2
270
Terraform 0 to 100:100個以上のリポジトリを常に最新にし続けるための自動化
sue445
3
1.5k
AI時代に問い直す「プロダクションミーティング」の価値 〜チームでサービスの信頼性を高める取り組み〜
mackerelio
0
210
kubellの最新データ分析環境
kubell_hr
2
300
AIフレンドリーなGenerative UIをJSXで
uhyo
2
1.1k
技術同人誌を作る方法
yoshimura_datam
0
120
社内アプリ基盤「Quartz」による、 非エンジニアとAIに本番デプロイを 任せても壊れないプラットフォームの設計
staka121
PRO
1
410
40以上のマイクロサービスを支えるKubernetes JITアクセス — 160以上の恒久RoleBindingを削減
jumpe1
0
120
Featured
See All Featured
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
410
The Curse of the Amulet
leimatthew05
4
17k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
620
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.3k
Building Applications with DynamoDB
mza
96
7.3k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
BBQ
matthewcrist
90
10k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1.1k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
22k
Agile that works and the tools we love
rasmusluckow
331
22k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
380
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
710