Skip to content

Commit

Permalink
Move page into _page folder and resolve index.html (#376)
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota authored Dec 13, 2022
1 parent dad9dfd commit 0fe2907
Show file tree
Hide file tree
Showing 42 changed files with 6 additions and 15 deletions.
20 changes: 5 additions & 15 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,18 @@ collections:
output: true
style_guide:
output: false
pages:
output: true
permalink: /:path/

defaults:

# This is a duplication of the next scope, but with index file name.
# It ensures that index files are treated as a directory index, and generate sub paths.
-
scope:
path: "**/index{.html,.md}"
type: pages
values:
image: /assets/icon.png
layout: page
permalink: /:path/
-
scope:
path: "**/*{.html,.md}"
path: ""
type: pages
values:
image: /assets/icon.png
layout: page
permalink: /:path/:basename/
-
scope:
path: ""
Expand All @@ -42,12 +33,11 @@ defaults:
is_post: true
-
scope:
path: "install/**/*{.html,.md}"
path: "_pages/install"
type: pages
values:
image: /assets/icon.png
layout: install
permalink: /:path/:basename/

- scope:
path: ""
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions releases/feed.xml → _pages/releases/feed.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
layout: none
permalink: /releases/feed.xml
---
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0fe2907

Please sign in to comment.