$ diff --git a/_config.yml b/_config.yml index 57e708e..5de1f0e 100644 --- a/_config.yml +++ b/_config.yml @@ -3,16 +3,18 @@ ## Source: https://github.com/hexojs/hexo/ # Site -title: Hexo +title: "masato's blog" subtitle: -description: -author: John Doe -language: -timezone: +description: "IoT, RaspberryPi, Arduino, Meshblu, Docker, Node.js, Clojure, ClojureScript" +author: "Masato Shimizu" +email: ma6ato@gmail.com +language: default +avatar: /images/profile.png +timezone: Asia/Tokyo # URL ## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/' -url: http://yoursite.com +url: http://masato.github.io/ root: / permalink: :year/:month/:day/:title/ permalink_defaults: @@ -34,14 +36,13 @@ titlecase: false# Transform title into titlecase external_link: true# Open external links in new tab filename_case: 0 render_drafts: false -post_asset_folder: false +post_asset_folder: true relative_link: false future: true highlight: enable: true line_number: true - auto_detect: true - tab_replace: + tab_replace: true # Category & Tag default_category: uncategorized @@ -52,7 +53,8 @@ tag_map: ## Hexo uses Moment.js to parse and display date ## You can customize the date format as defined in ## http://momentjs.com/docs/#/displaying/format/ -date_format: YYYY-MM-DD +#date_format: YYYY-MM-DD +date_format: MMM D YYYY time_format: HH:mm:ss # Pagination @@ -63,9 +65,36 @@ pagination_dir: page # Extensions ## Plugins: http://hexo.io/plugins/ ## Themes: http://hexo.io/themes/ -theme: landscape +theme: next # Deployment ## Docs: http://hexo.io/docs/deployment.html deploy: - type: + type: git + repo: git@github.com:masato/masato.github.io.git + +sitemap: + path: sitemap.xml + +feed: + type: rss2 + path: rss2.xml + limit: 20 + +tag_generator: + per_page: 10 + +archive_generator: + per_page: 10 + yearly: true + monthly: true + + +# Archives +## 2: Enable pagination +## 1: Disable pagination +## 0: Fully Disable +archive: 2 +category: 2 +tag: 2
themes/next/_config.yml
NexTテーマも同様に編集します。こちらにはテーマ固有の設定を定義しています。
diff --git a/_config.yml b/_config.yml index feb2741..b5ade09 100755 --- a/_config.yml +++ b/_config.yml @@ -11,18 +11,18 @@ menu: favicon: /favicon.ico # Set default keywords (Use a comma to separate) -keywords: "Hexo,next" +keywords: "IoT,RaspberryPi,Arduino,Meshblu,Docker,Node.js,Clojure,ClojureScript" # Set rss to false to disable feed link. # Leave rss as empty to use site's feed link. # Set rss to specific value if you have burned your feed already. -rss: +rss: /rss2.xml # Icon fonts # Place your font into next/source/fonts, specify directory-name and font-name here # Avialable: default | linecons | fifty-shades | feather -icon_font: default -#icon_font: fifty-shades +#icon_font: default +icon_font: fifty-shades #icon_font: feather #icon_font: linecons @@ -74,3 +74,7 @@ images: images # Theme version version: 0.4.3 + +# Miscellaneous +google_analytics: UA-xxx +favicon: /favicon.ico