Skip to content

Commit

Permalink
Update generator.md
Browse files Browse the repository at this point in the history
  • Loading branch information
twirlfog committed Jun 9, 2016
1 parent 5e110de commit a0e1d58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/api/generator.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ hexo.extend.generator.register(name, function(locals){
});
```

A `locals` argument will get passed into the function, containing the [site variables](../docs/variables.html#Site_Variables). You should use this argument to get the website data, thereby avoiding having to access the database directly.
A `locals` argument will get passed into the function, containing the [site variables](../docs/variables.html#Site-Variables). You should use this argument to get the website data, thereby avoiding having to access the database directly.

## Update Routes

Expand Down

0 comments on commit a0e1d58

Please sign in to comment.