diff --git a/_config.yml b/_config.yml index e0d6f00..981be66 100644 --- a/_config.yml +++ b/_config.yml @@ -87,6 +87,7 @@ updated_option: "mtime" ## Set per_page to 0 to disable pagination per_page: 10 pagination_dir: page +recent_per_page: 10 # Include / Exclude file(s) ## include:/exclude: options only apply to the 'source/' folder diff --git a/source/recently/index.md b/source/recently/index.md new file mode 100644 index 0000000..1ca816a --- /dev/null +++ b/source/recently/index.md @@ -0,0 +1,4 @@ +--- +title: 最近更新 +layout: "recently" +--- diff --git a/themes/grid/_config.yml b/themes/grid/_config.yml index 8b6c0b8..dc84afb 100644 --- a/themes/grid/_config.yml +++ b/themes/grid/_config.yml @@ -1,3 +1,5 @@ +# Parameters + # Less less: paths: [] diff --git a/themes/grid/layout/partial/header.ejs b/themes/grid/layout/partial/header.ejs index 27c5d87..c9b3359 100644 --- a/themes/grid/layout/partial/header.ejs +++ b/themes/grid/layout/partial/header.ejs @@ -9,6 +9,7 @@ <% if (!is_home()) { %>