Skip to content

Commit

Permalink
Stores are called pages nowadays.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Sep 23, 2018
1 parent 39a71c0 commit 08b2ae5
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion v8/bbcode/conf.py.sample
Expand Up @@ -3,4 +3,4 @@ COMPILERS["bbcode"] = ('.bb',)

# Add bbcode files to your POSTS, PAGES
POSTS = POSTS + (("posts/*.bb", "posts", "post.tmpl"),)
PAGES = PAGES + (("stories/*.bb", "posts", "post.tmpl"),)
PAGES = PAGES + (("pages/*.bb", "pages", "page.tmpl"),)
6 changes: 3 additions & 3 deletions v8/commonmark/conf.py.sample
Expand Up @@ -12,7 +12,7 @@ POSTS = (
("posts/*.markdown", "posts", "post.tmpl"),
)
PAGES = (
("stories/*.md", "stories", "story.tmpl"),
("stories/*.mdown", "stories", "story.tmpl"),
("stories/*.markdown", "stories", "story.tmpl"),
("pages/*.md", "pages", "page.tmpl"),
("pages/*.mdown", "pages", "page.tmpl"),
("pages/*.markdown", "pages", "page.tmpl"),
)
2 changes: 1 addition & 1 deletion v8/contentful/conf.py.sample
Expand Up @@ -7,5 +7,5 @@ POSTS = (
)
PAGES = (
...
("contentful/pages/*.md", "stories", "story.tmpl"),
("contentful/pages/*.md", "pages", "page.tmpl"),
)
2 changes: 1 addition & 1 deletion v8/datocms/conf.py.sample
Expand Up @@ -7,5 +7,5 @@ POSTS = (
)
PAGES = (
...
("dato/pages/*.md", "stories", "story.tmpl"),
("dato/pages/*.md", "pages", "page.tmpl"),
)
2 changes: 1 addition & 1 deletion v8/kramdown/conf.py.sample
Expand Up @@ -4,4 +4,4 @@ COMPILERS["kramdown"] = ('.kd',)

# Add kramdown files to your POSTS, PAGES
POSTS = POSTS + (("posts/*.kd", "posts", "post.tmpl"),)
PAGES = PAGES + (("stories/*.kd", "posts", "post.tmpl"),)
PAGES = PAGES + (("pages/*.kd", "pages", "page.tmpl"),)
2 changes: 1 addition & 1 deletion v8/markmin/conf.py.sample
Expand Up @@ -3,4 +3,4 @@ COMPILERS["markmin"] = ('.mm',)

# Add markmin files to your POSTS, PAGES
POSTS = POSTS + (("posts/*.mm", "posts", "post.tmpl"),)
PAGES = PAGES + (("stories/*.mm", "posts", "post.tmpl"),)
PAGES = PAGES + (("pages/*.mm", "pages", "page.tmpl"),)
2 changes: 1 addition & 1 deletion v8/misaka/conf.py.sample
Expand Up @@ -3,4 +3,4 @@ COMPILERS["misaka"] = ('.md',)

# Add markdown files to your POSTS, PAGES
POSTS = POSTS + (("posts/*.md", "posts", "post.tmpl"),)
PAGES = PAGES + (("stories/*.md", "posts", "post.tmpl"),)
PAGES = PAGES + (("pages/*.md", "pages", "page.tmpl"),)
6 changes: 3 additions & 3 deletions v8/mistune/conf.py.sample
Expand Up @@ -12,7 +12,7 @@ POSTS = (
("posts/*.markdown", "posts", "post.tmpl"),
)
PAGES = (
("stories/*.md", "stories", "story.tmpl"),
("stories/*.mdown", "stories", "story.tmpl"),
("stories/*.markdown", "stories", "story.tmpl"),
("pages/*.md", "pages", "page.tmpl"),
("pages/*.mdown", "pages", "page.tmpl"),
("pages/*.markdown", "pages", "page.tmpl"),
)
2 changes: 1 addition & 1 deletion v8/orgmode/conf.py.sample
Expand Up @@ -5,4 +5,4 @@ COMPILERS["orgmode"] = ('.org',)

# Add org files to your POSTS, PAGES
POSTS = POSTS + (("posts/*.org", "posts", "post.tmpl"),)
PAGES = PAGES + (("stories/*.org", "stories", "story.tmpl"),)
PAGES = PAGES + (("pages/*.org", "pages", "page.tmpl"),)
2 changes: 1 addition & 1 deletion v8/projectpages/README.md
Expand Up @@ -44,7 +44,7 @@ The plugin generates two files in each language:
page with a slider and list of projects, from template `projects.tmpl`
* projects/projects.json — a JSON file, dict of `{slug: all meta data}`

Project subpage generation is handled by Nikola’s built-in stories framework.
Project subpage generation is handled by Nikola’s built-in pages framework.

Meta fields
-----------
Expand Down
4 changes: 2 additions & 2 deletions v8/static_comments/static_comments.py
Expand Up @@ -247,7 +247,7 @@ def _process_post_object(self, post):
digest = self._hash_post_comments(post)
post.add_dependency_uptodate(utils.config_changed({1: digest}, 'nikola.plugins.comments.static_comments:' + post.base_path), is_callable=False, add='page')

def _process_posts_and_stories(self, site):
def _process_posts_and_pages(self, site):
"""Add comments to all posts."""
if site is self.site:
for post in site.timeline:
Expand All @@ -257,4 +257,4 @@ def set_site(self, site):
"""Set Nikola site object."""
super(StaticComments, self).set_site(site)
site._GLOBAL_CONTEXT['site_has_static_comments'] = True
blinker.signal("scanned").connect(self._process_posts_and_stories)
blinker.signal("scanned").connect(self._process_posts_and_pages)
2 changes: 1 addition & 1 deletion v8/textile/conf.py.sample
Expand Up @@ -3,4 +3,4 @@ COMPILERS["textile"] = ('.txt',)

# Add textile files to your POSTS, PAGES
POSTS = POSTS + (("posts/*.txt", "posts", "post.tmpl"),)
PAGES = PAGES + (("stories/*.txt", "posts", "post.tmpl"),)
PAGES = PAGES + (("pages/*.txt", "pages", "page.tmpl"),)

0 comments on commit 08b2ae5

Please sign in to comment.