Skip to content
Permalink
Browse files

Switch to Hexo

I really hate writing JavaScript but Hexo seems so much more
straightforward it's hard to justify hacking on anything else for a
simple blog.
  • Loading branch information
highb committed Jan 15, 2020
1 parent 90f6834 commit a3d2203eb05912f45ee3ac8b3ef70fecec56caba
Showing with 9,291 additions and 0 deletions.
  1. +101 −0 _config.yml
  2. +1 −0 db.json
  3. +3,573 −0 package-lock.json
  4. +26 −0 package.json
  5. +4 −0 scaffolds/draft.md
  6. +4 −0 scaffolds/page.md
  7. +5 −0 scaffolds/post.md
  8. +38 −0 source/_posts/hello-world.md
  9. +3 −0 themes/landscape/.gitignore
  10. +46 −0 themes/landscape/Gruntfile.js
  11. +7 −0 themes/landscape/LICENSE
  12. +112 −0 themes/landscape/README.md
  13. +37 −0 themes/landscape/_config.yml
  14. +19 −0 themes/landscape/languages/de.yml
  15. +19 −0 themes/landscape/languages/default.yml
  16. +19 −0 themes/landscape/languages/es.yml
  17. +19 −0 themes/landscape/languages/fr.yml
  18. +19 −0 themes/landscape/languages/ja.yml
  19. +19 −0 themes/landscape/languages/ko.yml
  20. +20 −0 themes/landscape/languages/nl.yml
  21. +19 −0 themes/landscape/languages/no.yml
  22. +19 −0 themes/landscape/languages/pt.yml
  23. +19 −0 themes/landscape/languages/ru.yml
  24. +19 −0 themes/landscape/languages/zh-CN.yml
  25. +19 −0 themes/landscape/languages/zh-TW.yml
  26. +25 −0 themes/landscape/layout/_partial/after-footer.ejs
  27. +8 −0 themes/landscape/layout/_partial/archive-post.ejs
  28. +34 −0 themes/landscape/layout/_partial/archive.ejs
  29. +44 −0 themes/landscape/layout/_partial/article.ejs
  30. +11 −0 themes/landscape/layout/_partial/footer.ejs
  31. +18 −0 themes/landscape/layout/_partial/gauges-analytics.ejs
  32. +14 −0 themes/landscape/layout/_partial/google-analytics.ejs
  33. +36 −0 themes/landscape/layout/_partial/head.ejs
  34. +32 −0 themes/landscape/layout/_partial/header.ejs
  35. +5 −0 themes/landscape/layout/_partial/mobile-nav.ejs
  36. +10 −0 themes/landscape/layout/_partial/post/category.ejs
  37. +3 −0 themes/landscape/layout/_partial/post/date.ejs
  38. +11 −0 themes/landscape/layout/_partial/post/gallery.ejs
  39. +22 −0 themes/landscape/layout/_partial/post/nav.ejs
  40. +6 −0 themes/landscape/layout/_partial/post/tag.ejs
  41. +15 −0 themes/landscape/layout/_partial/post/title.ejs
  42. +5 −0 themes/landscape/layout/_partial/sidebar.ejs
  43. +8 −0 themes/landscape/layout/_widget/archive.ejs
  44. +8 −0 themes/landscape/layout/_widget/category.ejs
  45. +14 −0 themes/landscape/layout/_widget/recent_posts.ejs
  46. +8 −0 themes/landscape/layout/_widget/tag.ejs
  47. +8 −0 themes/landscape/layout/_widget/tagcloud.ejs
  48. +1 −0 themes/landscape/layout/archive.ejs
  49. +1 −0 themes/landscape/layout/category.ejs
  50. +1 −0 themes/landscape/layout/index.ejs
  51. +18 −0 themes/landscape/layout/layout.ejs
  52. +1 −0 themes/landscape/layout/page.ejs
  53. +1 −0 themes/landscape/layout/post.ejs
  54. +1 −0 themes/landscape/layout/tag.ejs
  55. +12 −0 themes/landscape/package.json
  56. +24 −0 themes/landscape/scripts/fancybox.js
  57. +63 −0 themes/landscape/source/css/_extend.styl
  58. +80 −0 themes/landscape/source/css/_partial/archive.styl
  59. +357 −0 themes/landscape/source/css/_partial/article.styl
  60. +9 −0 themes/landscape/source/css/_partial/comment.styl
  61. +14 −0 themes/landscape/source/css/_partial/footer.styl
  62. +165 −0 themes/landscape/source/css/_partial/header.styl
  63. +158 −0 themes/landscape/source/css/_partial/highlight.styl
  64. +19 −0 themes/landscape/source/css/_partial/mobile.styl
  65. +27 −0 themes/landscape/source/css/_partial/sidebar-aside.styl
  66. +27 −0 themes/landscape/source/css/_partial/sidebar-bottom.styl
  67. +35 −0 themes/landscape/source/css/_partial/sidebar.styl
  68. +38 −0 themes/landscape/source/css/_util/grid.styl
  69. +31 −0 themes/landscape/source/css/_util/mixin.styl
  70. +63 −0 themes/landscape/source/css/_variables.styl
  71. BIN themes/landscape/source/css/fonts/FontAwesome.otf
  72. BIN themes/landscape/source/css/fonts/fontawesome-webfont.eot
  73. +414 −0 themes/landscape/source/css/fonts/fontawesome-webfont.svg
  74. BIN themes/landscape/source/css/fonts/fontawesome-webfont.ttf
  75. BIN themes/landscape/source/css/fonts/fontawesome-webfont.woff
  76. BIN themes/landscape/source/css/images/banner.jpg
  77. +89 −0 themes/landscape/source/css/style.styl
  78. BIN themes/landscape/source/fancybox/blank.gif
  79. BIN themes/landscape/source/fancybox/fancybox_loading.gif
  80. BIN themes/landscape/source/fancybox/fancybox_loading@2x.gif
  81. BIN themes/landscape/source/fancybox/fancybox_overlay.png
  82. BIN themes/landscape/source/fancybox/fancybox_sprite.png
  83. BIN themes/landscape/source/fancybox/fancybox_sprite@2x.png
  84. BIN themes/landscape/source/fancybox/helpers/fancybox_buttons.png
  85. +97 −0 themes/landscape/source/fancybox/helpers/jquery.fancybox-buttons.css
  86. +122 −0 themes/landscape/source/fancybox/helpers/jquery.fancybox-buttons.js
  87. +199 −0 themes/landscape/source/fancybox/helpers/jquery.fancybox-media.js
  88. +55 −0 themes/landscape/source/fancybox/helpers/jquery.fancybox-thumbs.css
  89. +165 −0 themes/landscape/source/fancybox/helpers/jquery.fancybox-thumbs.js
  90. +273 −0 themes/landscape/source/fancybox/jquery.fancybox.css
  91. +2,017 −0 themes/landscape/source/fancybox/jquery.fancybox.js
  92. +46 −0 themes/landscape/source/fancybox/jquery.fancybox.pack.js
  93. +137 −0 themes/landscape/source/js/script.js
@@ -0,0 +1,101 @@
# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/

# Site
title: "Brandon High's Blog"
subtitle: 'Yet Another Blog'
description: ''
keywords: programming
author: Brandon High
language: en
timezone: 'America/Los_Angeles'

# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: https://bmh.io
root: /
permalink: :year/:month/:day/:title/
permalink_defaults:
pretty_urls:
trailing_index: false # Set to false to remove trailing 'index.html' from permalinks
trailing_html: false # Set to false to remove trailing '.html' from permalinks

# Directory
source_dir: source
public_dir: public
tag_dir: tags
archive_dir: archives
category_dir: categories
code_dir: downloads/code
i18n_dir: :lang
skip_render:

# Writing
new_post_name: :title.md # File name of new posts
default_layout: post
titlecase: false # Transform title into titlecase
external_link:
enable: true # Open external links in new tab
field: site # Apply to the whole site
exclude: ''
filename_case: 0
render_drafts: false
post_asset_folder: false
relative_link: false
future: true
highlight:
enable: true
line_number: true
auto_detect: false
tab_replace: ''
wrap: true
hljs: false

# Home page setting
# path: Root path for your blogs index page. (default = '')
# per_page: Posts displayed per page. (0 = disable pagination)
# order_by: Posts order. (Order by date descending by default)
index_generator:
path: ''
per_page: 10
order_by: -date

# Category & Tag
default_category: uncategorized
category_map:
tag_map:

# Metadata elements
## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
meta_generator: true

# Date / Time format
## 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
time_format: HH:mm:ss
## Use post's date for updated date unless set in front-matter
use_date_for_updated: false

# Pagination
## Set per_page to 0 to disable pagination
per_page: 10
pagination_dir: page

# Include / Exclude file(s)
## include:/exclude: options only apply to the 'source/' folder
include:
exclude:
ignore:

# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: landscape

# Deployment
## Docs: https://hexo.io/docs/deployment.html
deploy:
type: ''

Large diffs are not rendered by default.

0 comments on commit a3d2203

Please sign in to comment.
You can’t perform that action at this time.