brevno-suite/hugo
8 years agovendor: Update cast
Bjørn Erik Pedersen [Mon, 26 Sep 2016 08:50:38 +0000 (10:50 +0200)]
vendor: Update cast

See #2495

8 years agoFix leaky goroutine
Bjørn Erik Pedersen [Fri, 23 Sep 2016 17:04:19 +0000 (19:04 +0200)]
Fix leaky goroutine

By making the err chan buffered so both go routines can return.

Also make sure that any errors are logged.

Fixes #2488

8 years agoMake multilingual respect DisableSitemap
Bjørn Erik Pedersen [Fri, 23 Sep 2016 08:30:55 +0000 (10:30 +0200)]
Make multilingual respect DisableSitemap

Fixes #2485

8 years agoAdd TestChangeDefaultLanguage
Bjørn Erik Pedersen [Wed, 21 Sep 2016 12:09:41 +0000 (14:09 +0200)]
Add TestChangeDefaultLanguage

8 years agotpl: Polish i18n tests
Bjørn Erik Pedersen [Tue, 20 Sep 2016 11:22:56 +0000 (13:22 +0200)]
tpl: Polish i18n tests

* Make the type/var names more specific. They live in the test namespace, but there are other tests there.
* Camel case variable
* Small change suggested by Golint

8 years agotpl: Improve tests and docs for i18n
Mitchell Cohen [Tue, 20 Sep 2016 09:11:57 +0000 (05:11 -0400)]
tpl: Improve tests and docs for i18n

8 years agovendor: Update go-toml
Bjørn Erik Pedersen [Tue, 20 Sep 2016 08:35:11 +0000 (10:35 +0200)]
vendor: Update go-toml

Fixes #2439

8 years agovendor: Update dependencies
Bjørn Erik Pedersen [Mon, 19 Sep 2016 21:24:36 +0000 (23:24 +0200)]
vendor: Update dependencies

8 years agoRemove some unused vars
Bjørn Erik Pedersen [Mon, 19 Sep 2016 20:14:15 +0000 (22:14 +0200)]
Remove some unused vars

8 years agocommands: Add some band-aid to convert
Bjørn Erik Pedersen [Mon, 19 Sep 2016 08:52:07 +0000 (10:52 +0200)]
commands: Add some band-aid to convert

Fixes #2458

8 years agotpl: Set i18n bundle once per test run
Bjørn Erik Pedersen [Mon, 19 Sep 2016 00:44:21 +0000 (02:44 +0200)]
tpl: Set i18n bundle once per test run

No real practical difference, but more clear.

8 years agoAdd vendoring with govendor
Cameron Moore [Sun, 18 Sep 2016 22:10:10 +0000 (17:10 -0500)]
Add vendoring with govendor

8 years agoFix i18n with missing translations and add tests
Mitchell Cohen [Sun, 18 Sep 2016 20:18:13 +0000 (16:18 -0400)]
Fix i18n with missing translations and add tests

8 years agohelpers: Skip TestGetRealPath on Windows when not in CI
Bjørn Erik Pedersen [Sun, 18 Sep 2016 20:04:32 +0000 (22:04 +0200)]
helpers: Skip TestGetRealPath on Windows when not in CI

`os.Symlink` needs administrator rights on Windows,
and this seems to be the simplest fix while still getting the tests run on Appveyor.

Fixes #2476

8 years agoFail early in TestGetRealPath
Bjørn Erik Pedersen [Sun, 18 Sep 2016 17:52:42 +0000 (19:52 +0200)]
Fail early in TestGetRealPath

See #2476

8 years agoRevert the "standardize author data"
Bjørn Erik Pedersen [Sun, 18 Sep 2016 17:10:11 +0000 (19:10 +0200)]
Revert the "standardize author data"

There were some breaking changes etc. that is too late to fix for 0.17.

Let us think this through and add proper author support for Hugo 0.18.

Fixes #2464

Revert "docs: Add documentation for author profiles"

This reverts commit b6673e5309685ae162fdef2dc39c3ce4385c6005.

Revert "Add First Class Author Support"

This reverts commit cf978c06496d99e76b08418422dda5797d90fed6.

8 years agodocs: Improve Overview Configuration manual
Mark D. Blackwell [Sat, 17 Sep 2016 03:54:39 +0000 (23:54 -0400)]
docs: Improve Overview Configuration manual

8 years agoMake suure SectionPagesMenu setting is always loaded per language
Bjørn Erik Pedersen [Sat, 17 Sep 2016 14:53:58 +0000 (16:53 +0200)]
Make suure SectionPagesMenu setting is always loaded per language

8 years agodocs: Add documentation for author profiles
digitalcraftsman [Mon, 22 Aug 2016 15:53:30 +0000 (17:53 +0200)]
docs: Add documentation for author profiles

8 years agodocs: Add multilingual alias example
Mitchell Cohen [Fri, 16 Sep 2016 19:48:42 +0000 (15:48 -0400)]
docs: Add  multilingual alias example

8 years agoRemove Authors.Sort
Bjørn Erik Pedersen [Fri, 16 Sep 2016 22:50:11 +0000 (00:50 +0200)]
Remove Authors.Sort

We may add it again in the future, but let us try to keep the API as small as possible for now.

See #1850

8 years agoAdd First Class Author Support
Derek Perkins [Fri, 16 Sep 2016 02:28:13 +0000 (20:28 -0600)]
Add First Class Author Support

Closes #1850

8 years agoAdd snapcraft.yaml file
Daniel Holbach [Tue, 13 Sep 2016 09:52:54 +0000 (11:52 +0200)]
Add snapcraft.yaml file

8 years agodocs: Clarify difference between slug and url
digitalcraftsman [Fri, 16 Sep 2016 15:37:35 +0000 (17:37 +0200)]
docs: Clarify difference between slug and url

8 years agotpl: Add EnableMissingTranslationPlaceholders option
digitalcraftsman [Fri, 16 Sep 2016 15:20:29 +0000 (17:20 +0200)]
tpl: Add EnableMissingTranslationPlaceholders option

Fixes #2451

8 years agodocs: List i18n folder in source organization
digitalcraftsman [Fri, 16 Sep 2016 15:13:59 +0000 (17:13 +0200)]
docs: List i18n folder in source organization

8 years agodocs: Clarify usecase of data files
digitalcraftsman [Fri, 16 Sep 2016 15:05:38 +0000 (17:05 +0200)]
docs: Clarify usecase of data files

Fixes #1769

8 years agodocs: Fix example of displaying taxonomies
digitalcraftsman [Fri, 16 Sep 2016 14:43:50 +0000 (16:43 +0200)]
docs: Fix example of displaying taxonomies

Fixes #2216

8 years agodocs: List multilingual tpl vars and show menu creation
digitalcraftsman [Fri, 16 Sep 2016 13:35:19 +0000 (15:35 +0200)]
docs: List multilingual tpl vars and show menu creation

Fixes #2436

8 years agodocs: List config options for multilingual feature
digitalcraftsman [Fri, 16 Sep 2016 12:36:54 +0000 (14:36 +0200)]
docs: List config options for multilingual feature

8 years agodocs: Fix markdown in content/extras/scratch.md
Jacob Walker [Thu, 15 Sep 2016 16:35:39 +0000 (11:35 -0500)]
docs: Fix markdown in content/extras/scratch.md

8 years agodocs: Fix French translation in multilingual.md
Frank Taillandier [Fri, 9 Sep 2016 18:10:50 +0000 (20:10 +0200)]
docs: Fix French translation in multilingual.md

8 years agodocs: Improve Traversing Local Files
Mark D. Blackwell [Sat, 10 Sep 2016 22:23:23 +0000 (18:23 -0400)]
docs: Improve Traversing Local Files

8 years agoMake paginate settings configurable per language
Bjørn Erik Pedersen [Thu, 15 Sep 2016 07:32:52 +0000 (09:32 +0200)]
Make paginate settings configurable per language

Fixes #2449

8 years agoDo not add lang prefix in URL when set in frontmatter
Bjørn Erik Pedersen [Wed, 14 Sep 2016 16:51:34 +0000 (18:51 +0200)]
Do not add lang prefix in URL when set in frontmatter

Fixes #2450

8 years agoLazy calculate WordCount, ReadingTime and FuzzyWordCount
Bjørn Erik Pedersen [Wed, 17 Aug 2016 11:41:48 +0000 (13:41 +0200)]
Lazy calculate  WordCount, ReadingTime and FuzzyWordCount

This avoids having to execute these expensive operations for sites not using these values.

This commit sums up a set of wordcounting and autosummary related performance improvements.

The effect of these kind of depends on what features your site use, but a benchmark from 4 Hugo sites in the wild shows promise:

```
benchmark           old ns/op       new ns/op       delta
BenchmarkHugo-4     21293005843     20032857342     -5.92%

benchmark           old allocs     new allocs     delta
BenchmarkHugo-4     65290922       65186032       -0.16%

benchmark           old bytes      new bytes      delta
BenchmarkHugo-4     9771213416     9681866464     -0.91%
```

Closes #2378

8 years agoImprove TotalWords counter func
Bjørn Erik Pedersen [Wed, 17 Aug 2016 04:37:19 +0000 (06:37 +0200)]
Improve TotalWords counter func

It is obviously more efficient when we do not care about the actual words.

```
BenchmarkTotalWords-4            100000         18795 ns/op           0 B/op           0 allocs/op
BenchmarkTotalWordsOld-4          30000         46751 ns/op        6400 B/op           1 allocs/op
```

8 years agoAvoid splitting words for summary
Bjørn Erik Pedersen [Tue, 16 Aug 2016 20:50:15 +0000 (22:50 +0200)]
Avoid splitting words for summary

For people using autogenerated summaries, this is one of the hot spots in the memory department.

We don't need to split al the content into words to do proper summary truncation.

This is obviously more effective:

```
BenchmarkTestTruncateWordsToWholeSentence-4            300000          4720 ns/op           0 B/op           0 allocs/op
BenchmarkTestTruncateWordsToWholeSentenceOld-4         100000         17699 ns/op        3072 B/op           3 allocs/op
```

8 years agohelpers: Improve the language prefix logic
Bjørn Erik Pedersen [Tue, 13 Sep 2016 21:44:16 +0000 (23:44 +0200)]
helpers: Improve the language prefix logic

See #2444

8 years agohelpers: Avoid adding language prefix if already present
Bjørn Erik Pedersen [Tue, 13 Sep 2016 19:37:27 +0000 (21:37 +0200)]
helpers: Avoid adding language prefix if already present

Fixes #2444

8 years agocommands: Improve error messages in convert
Bjørn Erik Pedersen [Tue, 13 Sep 2016 17:11:36 +0000 (19:11 +0200)]
commands: Improve error messages in convert

See #2440

8 years agotpl: Make the *langURL funcs tace interface{}
Bjørn Erik Pedersen [Tue, 13 Sep 2016 15:07:52 +0000 (17:07 +0200)]
tpl: Make the *langURL funcs tace interface{}

Fixes #2447

8 years agocommands: Report errors in convert
Bjørn Erik Pedersen [Tue, 13 Sep 2016 08:49:19 +0000 (10:49 +0200)]
commands: Report errors in convert

Fixes #2440

8 years agoFix broken convert command
Bjørn Erik Pedersen [Tue, 13 Sep 2016 07:59:18 +0000 (09:59 +0200)]
Fix broken convert command

Fixes #2437

8 years agoAdd Language.LanguageName
Bjørn Erik Pedersen [Mon, 12 Sep 2016 18:57:52 +0000 (20:57 +0200)]
Add Language.LanguageName

Fixes #2435

8 years agoSupport site menu per language
Bjørn Erik Pedersen [Mon, 12 Sep 2016 18:41:52 +0000 (20:41 +0200)]
Support site menu per language

Fixes #2434

8 years agocommands: Fix typos
Albert [Mon, 12 Sep 2016 09:32:11 +0000 (15:32 +0600)]
commands: Fix typos

8 years agotpl: Extend where to iterate over maps
Cameron Moore [Mon, 12 Sep 2016 09:03:53 +0000 (04:03 -0500)]
tpl: Extend where to iterate over maps

Fixes #2028

8 years agotpl: Fix typos in tests
Cameron Moore [Wed, 17 Aug 2016 03:26:19 +0000 (22:26 -0500)]
tpl: Fix typos in tests

Closes #2370

8 years agohugolib: Fix typos in tests
Cameron Moore [Wed, 17 Aug 2016 03:26:42 +0000 (22:26 -0500)]
hugolib: Fix typos in tests

8 years agoReplace some leftover os.Stat with hugofs.Source
Bjørn Erik Pedersen [Sun, 11 Sep 2016 17:59:07 +0000 (19:59 +0200)]
Replace some leftover os.Stat with hugofs.Source

8 years agoFix reload dir matching in theme
Bjørn Erik Pedersen [Sun, 11 Sep 2016 17:47:12 +0000 (19:47 +0200)]
Fix reload dir matching in theme

Fixes #2430

8 years agoHandle symlink change event
Bjørn Erik Pedersen [Sun, 10 Jul 2016 17:37:27 +0000 (19:37 +0200)]
Handle symlink change event

Hugo 0.16 announced support for symbolic links for the root folders, /content, /static etc., but this got broken pretty fast.

The main problem this commit tries to solve is the matching of file change events to "what changed".

An example:

ContentDir: /mysites/site/content where /mysites/site/content is a symlink to /mycontent

/mycontent:

/mypost1.md
/post/mypost2.md

* A change to mypost1.md (on OS X) will trigger a file change event with name "/mycontent/mypost1.md"
* A change to mypost2.md gives event with name "/mysites/site/content/mypost2.md"

The first change will not trigger a correct update of Hugo before this commit. This commit fixes this by doing a two-step check:

1. Check if "/mysites/site/content/mypost2.md" is within /mysites/site/content
2. Check if  "/mysites/site/content/mypost2.md" is within the real path that /mysites/site/content points to

Fixes #2265
Closes #2273

8 years agodocs: Remove JPEG as format for showcase thumbnails
digitalcraftsman [Sun, 11 Sep 2016 16:18:28 +0000 (18:18 +0200)]
docs: Remove JPEG as format for showcase thumbnails

8 years agodocs: Add davidyat.es to the showcase
David Yates [Sat, 10 Sep 2016 05:30:42 +0000 (07:30 +0200)]
docs: Add davidyat.es to the showcase

8 years agoparser: Use strings.Contains instead of strings.Index
bogem [Tue, 30 Aug 2016 17:30:33 +0000 (22:30 +0500)]
parser: Use strings.Contains instead of strings.Index

Closes #2400

8 years agoparser: Simplify err conditions
bogem [Tue, 30 Aug 2016 17:29:48 +0000 (22:29 +0500)]
parser: Simplify err conditions

8 years agocommands: Delete useless conversion
bogem [Tue, 30 Aug 2016 17:22:26 +0000 (22:22 +0500)]
commands: Delete useless conversion

8 years agocommands: Simplify err condition
bogem [Tue, 30 Aug 2016 17:20:39 +0000 (22:20 +0500)]
commands: Simplify err condition

8 years agocommands: Delete unused newUserErrorF
bogem [Tue, 30 Aug 2016 17:20:21 +0000 (22:20 +0500)]
commands: Delete unused newUserErrorF

8 years agoFixe target path location check in jekyll import command
Jelmer Tiete [Sun, 11 Sep 2016 08:48:31 +0000 (01:48 -0700)]
Fixe target path location check in jekyll import command

8 years agoPrevent panic on empty authorlist
Mathias Biilmann [Sun, 11 Sep 2016 08:46:56 +0000 (10:46 +0200)]
Prevent panic on empty authorlist

8 years agoRemove redundant field in sort helper struct
Ben Campbell [Sun, 11 Sep 2016 08:42:50 +0000 (20:42 +1200)]
Remove redundant field in sort helper struct

The pair struct used by sortSeq() had two key fields, where only one
is really needed.

8 years agotpl: Make it more clear on missing language string
Bjørn Erik Pedersen [Fri, 9 Sep 2016 19:21:16 +0000 (21:21 +0200)]
tpl: Make it more clear on  missing language string

8 years agoRedirect to root when DefaultContentLanguageInSubdir = false
Bjørn Erik Pedersen [Fri, 9 Sep 2016 15:40:56 +0000 (17:40 +0200)]
Redirect to root when DefaultContentLanguageInSubdir = false

Fixes #2422

8 years agoFix paginator counter on x86-32
Bjørn Erik Pedersen [Fri, 9 Sep 2016 12:31:49 +0000 (14:31 +0200)]
Fix paginator counter on x86-32

Atomic operations with 64 bit values must be aligned for 64-bit on x86-32.

According to the spec:

"The first word in a global variable or in an allocated struct or slice can be relied upon to be 64-bit aligned."

The above wasn't enough for the `paginationPageCount` on `SiteInfo`, maybe due to how `SiteInfo` is embedded.

This commit adds a 4 byte padding before the `uint64` that creates the correct alignment.

Fixes #2415

8 years agoAdd TODO list support for Blackfriday
Bjørn Erik Pedersen [Fri, 9 Sep 2016 11:08:20 +0000 (13:08 +0200)]
Add TODO list support for Blackfriday

* Add CSS class to TODO list and list items
* Add a flag to turn task list support off

Fixes #2269

8 years agoFix shortcode vs pygments
Bjørn Erik Pedersen [Thu, 8 Sep 2016 19:23:01 +0000 (21:23 +0200)]
Fix shortcode vs pygments

This is the nth attempt to fix an issue by changing the placeholder token pattern, but
now we actually have tests for all the historic trouble cases.

Fixes #2223

8 years agoFix pagination page counter on 32 bit
Bjørn Erik Pedersen [Thu, 8 Sep 2016 14:17:28 +0000 (17:17 +0300)]
Fix pagination page counter on 32 bit

Updates #2415

8 years agoReset the i18n func map on reload
Bjørn Erik Pedersen [Thu, 8 Sep 2016 14:04:04 +0000 (17:04 +0300)]
Reset the i18n func map on reload

Also improve the error message on missing resource bundles.

8 years agodocs: Fix typos in multilingual section
Pascal Aubort [Thu, 8 Sep 2016 13:14:53 +0000 (15:14 +0200)]
docs: Fix typos in multilingual section

8 years agoAdd missing read lock in getNodes
Bjørn Erik Pedersen [Thu, 8 Sep 2016 13:51:32 +0000 (16:51 +0300)]
Add missing read lock in getNodes

8 years agoBump Travis to Go 1.7.1
Bjørn Erik Pedersen [Wed, 7 Sep 2016 21:37:04 +0000 (00:37 +0300)]
Bump Travis to Go 1.7.1

8 years agotpl: Fix echoParam
Bjørn Erik Pedersen [Wed, 7 Sep 2016 19:03:09 +0000 (22:03 +0300)]
tpl: Fix echoParam

Fixes #2406

8 years agoMake it the DEV version
Bjørn Erik Pedersen [Tue, 6 Sep 2016 20:20:59 +0000 (23:20 +0300)]
Make it the DEV version

8 years agoFix go vet 1.7 issues
Bjørn Erik Pedersen [Sat, 20 Aug 2016 18:54:10 +0000 (19:54 +0100)]
Fix go vet 1.7 issues

Updates #2309

8 years agoAdd a global Reset func
Bjørn Erik Pedersen [Tue, 16 Aug 2016 10:49:07 +0000 (12:49 +0200)]
Add a global Reset func

So we can do some benchmarking.

8 years agoMake sure the 404 node has .Data.Pages
Bjørn Erik Pedersen [Mon, 15 Aug 2016 13:31:54 +0000 (15:31 +0200)]
Make sure the 404 node has .Data.Pages

Updates #2309

8 years agoFix site reset for benchmarks etc.
Bjørn Erik Pedersen [Sun, 14 Aug 2016 23:20:16 +0000 (01:20 +0200)]
Fix site reset for benchmarks etc.

Updates #2309

8 years agoFix multilingual reload when shortcode changes
Bjørn Erik Pedersen [Fri, 12 Aug 2016 22:33:17 +0000 (00:33 +0200)]
Fix multilingual reload when shortcode changes

This commit also refines the partial rebuild logic, to make sure we do not do more work than needed.

Updates #2309

8 years agoSet lang template globals for each site when render shortcodes
Bjørn Erik Pedersen [Fri, 12 Aug 2016 16:17:00 +0000 (18:17 +0200)]
Set lang template globals for each site when render shortcodes

We should get rid of these globals, but that is another month.

8 years agoSmall adjustment to SiteInfo init
Bjørn Erik Pedersen [Fri, 12 Aug 2016 08:12:01 +0000 (10:12 +0200)]
Small adjustment to SiteInfo init

After a visual inspection to make (pretty) sure it is correct re multiple languages.

Updates #2309

8 years agodocs: Fix spelling: HasTranslations > IsTranslated
Bjørn Erik Pedersen [Fri, 12 Aug 2016 07:39:13 +0000 (09:39 +0200)]
docs: Fix spelling: HasTranslations > IsTranslated

8 years agoCreate a copy of the section node for RSS
Bjørn Erik Pedersen [Thu, 11 Aug 2016 20:57:17 +0000 (22:57 +0200)]
Create a copy of the section node for RSS

So the Permalink gets correct when listing translations.

I have also checked the other relevant places to make sure we do not overwrite node values we need later.

Pointers can be tricky, but lesson learned is: A copy is cheap.

Updates #2309

8 years agoFix Data in multisites
Bjørn Erik Pedersen [Thu, 11 Aug 2016 16:26:45 +0000 (18:26 +0200)]
Fix Data in multisites

Updates #2309

8 years agodocs: Get the variable and funcs re multilingual up-to-date
Bjørn Erik Pedersen [Thu, 11 Aug 2016 08:45:54 +0000 (10:45 +0200)]
docs: Get the variable and funcs re multilingual up-to-date

8 years agoAdd JSON config to the multilanguage testing
Bjørn Erik Pedersen [Wed, 10 Aug 2016 21:57:10 +0000 (23:57 +0200)]
Add JSON config to the multilanguage testing

Updates #2309

8 years agoFix YAML loading of multilingual config
Bjørn Erik Pedersen [Wed, 10 Aug 2016 20:46:02 +0000 (22:46 +0200)]
Fix YAML loading of multilingual config

And some other minor fixes from code review.

Updates #2309

8 years agoAdd data tests
Bjørn Erik Pedersen [Wed, 10 Aug 2016 06:51:57 +0000 (08:51 +0200)]
Add data tests

Updates #2309

8 years agoAdd temp MULTILINGUAL version suffix to this branch
Bjørn Erik Pedersen [Wed, 10 Aug 2016 06:20:06 +0000 (08:20 +0200)]
Add temp MULTILINGUAL version suffix to this branch

For people having trouble building this.

Now `hugo version` should print something like:

```
Hugo Static Site Generator v0.17-MULTILINGUAL BuildDate: 2016-08-10T08:20:36+02:00
```

8 years agoCreate a Node map to get proper node translations
Bjørn Erik Pedersen [Tue, 9 Aug 2016 18:06:15 +0000 (20:06 +0200)]
Create a Node map to get proper node translations

In a multi-language setup, before this commit the Node's Translations() method
would return some "dummy nodes" that would point to the correct page (Permalink),
but would not be the same as the node it points to -- it would not have the translated
title etc.

The node creation is, however, so mingled with rendering, whihc is too early to have any global state,
so the nodes has to be split in a prepare and a render phase. This commits does that with as small
a change as possible. This implementation is a temp solution until we fix #2297.

Updates #2309

8 years agodoc: Fix TOML vs YAML in multilang section
Bjørn Erik Pedersen [Tue, 9 Aug 2016 14:38:14 +0000 (16:38 +0200)]
doc: Fix TOML vs YAML in multilang section

Updates ##2309

8 years agoHandle error in config loading
Bjørn Erik Pedersen [Tue, 9 Aug 2016 13:31:16 +0000 (15:31 +0200)]
Handle error in config loading

See #2309

8 years agoAdd IsTranslated to Node and Page
Bjørn Erik Pedersen [Tue, 9 Aug 2016 12:26:55 +0000 (14:26 +0200)]
Add IsTranslated to Node and Page

Makes the templates simpler.

See #2309

8 years agoRemove unused Multilingual Viper default
Bjørn Erik Pedersen [Tue, 9 Aug 2016 09:50:29 +0000 (11:50 +0200)]
Remove unused Multilingual Viper default

See #2312

8 years agoImprove i18n string handling
Bjørn Erik Pedersen [Tue, 9 Aug 2016 09:41:56 +0000 (11:41 +0200)]
Improve i18n string handling

* Fall back to default language on missing translation file
* Add a i18n-warnings build flag
* If that flag is set, print a parseable and greppable string on missing translation strings

See #2303

8 years agoRender main content language in root by default
Bjørn Erik Pedersen [Mon, 8 Aug 2016 11:55:18 +0000 (13:55 +0200)]
Render main content language in root by default

Fixes #2312

8 years agoAdd parent as owner to Site
Bjørn Erik Pedersen [Mon, 8 Aug 2016 08:12:39 +0000 (10:12 +0200)]
Add parent as owner to Site

And pull up common member vars like Tmpl and Multilinguage.

Or: the final multilingual TODO-fixes.

See #2309

8 years agoMake the check command work in multilingual mode
Bjørn Erik Pedersen [Mon, 8 Aug 2016 07:28:02 +0000 (09:28 +0200)]
Make the check command work in multilingual mode

Or: some more multilingual TODO-fixes.

See #2309

8 years agoMake sure drafts etc. are not processed
Bjørn Erik Pedersen [Mon, 8 Aug 2016 07:05:16 +0000 (09:05 +0200)]
Make sure drafts etc. are not processed

See #2309