Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: getnikola/nikola
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e62b74ddf2ab
Choose a base ref
...
head repository: getnikola/nikola
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 88d2b7a64bce
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Jul 11, 2015

  1. Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    90dd7e0 View commit details
  2. Copy the full SHA
    88d2b7a View commit details
Showing with 4 additions and 2 deletions.
  1. +4 −2 nikola/plugins/task/galleries.py
6 changes: 4 additions & 2 deletions nikola/plugins/task/galleries.py
Original file line number Diff line number Diff line change
@@ -183,11 +183,13 @@ def gen_tasks(self):

crumbs = utils.get_crumbs(gallery, index_folder=self)

# Create index.html for each language
for lang in self.kw['translations']:
# save navigation links as dependencies
self.kw['navigation_links|{0}'.format(lang)] = self.kw['global_context']['navigation_links'](lang)

# Create index.html for each language
for lang in self.kw['translations']:

dst = os.path.join(
self.kw['output_folder'],
self.site.path("gallery", gallery, lang))
@@ -268,7 +270,7 @@ def gen_tasks(self):
(self.render_gallery_index, (
template_name,
dst,
context,
context.copy(),
dest_img_list,
img_titles,
thumbs,