Explorar o código

Add gitsubmodule, icarus theme

Miles Pong %!s(int64=9) %!d(string=hai) anos
pai
achega
c43598b04c
Modificáronse 3 ficheiros con 13 adicións e 8 borrados
  1. 3 0
      .gitmodules
  2. 9 8
      _config.yml
  3. 1 0
      themes/icarus

+ 3 - 0
.gitmodules

@@ -0,0 +1,3 @@
+[submodule "themes/icarus"]
+	path = themes/icarus
+	url = https://github.com/ppoffice/hexo-theme-icarus.git

+ 9 - 8
_config.yml

@@ -3,16 +3,16 @@
 ## Source: https://github.com/hexojs/hexo/
 
 # Site
-title: Hexo
-subtitle:
-description:
-author: John Doe
-language:
+title: Mp's Blog
+subtitle: MilesPong
+description: A self-hosted blog of Miles
+author: Miles Pong
+language: en
 timezone:
 
 # 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: https://blog.solomp.com
 root: /
 permalink: :year/:month/:day/:title/
 permalink_defaults:
@@ -28,8 +28,9 @@ i18n_dir: :lang
 skip_render:
 
 # Writing
-new_post_name: :title.md # File name of new posts
+new_post_name: :year-:month-:day-:title.md # File name of new posts
 default_layout: post
+auto_spacing: true
 titlecase: false # Transform title into titlecase
 external_link: true # Open external links in new tab
 filename_case: 0
@@ -63,7 +64,7 @@ pagination_dir: page
 # Extensions
 ## Plugins: https://hexo.io/plugins/
 ## Themes: https://hexo.io/themes/
-theme: landscape
+theme: icarus
 
 # Deployment
 ## Docs: https://hexo.io/docs/deployment.html

+ 1 - 0
themes/icarus

@@ -0,0 +1 @@
+Subproject commit aaad1de2a1193cd3be82cd85aff811f2ee083004