diff --git a/.gitmodules b/.gitmodules index 75bcbd7..0385a23 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ -[submodule "themes/hexo-theme-next"] - path = themes/hexo-theme-next - url = https://github.com/theme-next/hexo-theme-next.git +[submodule "next"] + path = themes/next + url = ssh://git@git.tsanie.org:9022/tsanie/hexo-theme-next.git diff --git a/_config.yml b/_config.yml index 524a97e..bb71796 100644 --- a/_config.yml +++ b/_config.yml @@ -13,7 +13,7 @@ timezone: Asia/Chongqing # URL ## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/' -url: https://tsanie.us +url: https://tsanie.org root: / permalink: :year/:month/:day/:title/ permalink_defaults: @@ -32,7 +32,10 @@ skip_render: new_post_name: :title.md # File name of new posts default_layout: post titlecase: false # Transform title into titlecase -external_link: true # Open external links in new tab +external_link: # Open external links in new tab + enable: true + field: site + exclude: [] filename_case: 0 render_drafts: false post_asset_folder: true diff --git a/source/_data/styles.styl b/source/_data/styles.styl new file mode 100644 index 0000000..2f5c757 --- /dev/null +++ b/source/_data/styles.styl @@ -0,0 +1,13 @@ +.posts-expand { + .post-title { + font-size: 1.6em; + + +mobile() { + font-size: 1.4em; + } + } +} + +code, kbd, samp { + font-size: 0.9em; +} \ No newline at end of file diff --git a/themes/hexo-theme-next b/themes/hexo-theme-next deleted file mode 160000 index d24c48e..0000000 --- a/themes/hexo-theme-next +++ /dev/null @@ -1 +0,0 @@ -Subproject commit d24c48efb1ff1182b23926a3835e350f9c3ab6eb diff --git a/themes/next b/themes/next new file mode 160000 index 0000000..0967802 --- /dev/null +++ b/themes/next @@ -0,0 +1 @@ +Subproject commit 09678022d5afe5695cf58917c279f8efee9a9bd8