-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hide files that don't have status Published in their frontmatter
We use a ready hook in the config.rb to scan through the sitemap and explicitly ignore any files without frontmatter that sets them as published. We also explicitly keep .htaccess files and anything taht looks like an asset (for now that's anything in javascripts/, stylesheets/, or images/). I guess this is laying some groundwork to make #18 and #19 more worthwhile.
- Loading branch information
Showing
3 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
--- | ||
status: Published | ||
--- | ||
articles = pages_in_category(category).take(10) | ||
site_url = "http://lrug.org/" | ||
|
||
|