Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use / for template names regardless of platform. #36

Merged
merged 1 commit into from Aug 12, 2013
Merged

Use / for template names regardless of platform. #36

merged 1 commit into from Aug 12, 2013

Conversation

noahcampbell
Copy link
Contributor

The path seperator was causing templates to not be loaded on windows.
Now all template names use / internally.

The path seperator was causing templates to not be loaded on windows.
Now all template names use / internally.
spf13 added a commit that referenced this pull request Aug 12, 2013
Use / for template names regardless of platform.
@spf13 spf13 merged commit cb39f05 into gohugoio:master Aug 12, 2013
bep referenced this pull request in bep/hugo Nov 12, 2017
bep referenced this pull request in bep/hugo Nov 12, 2017
bep referenced this pull request in bep/hugo Nov 12, 2017
bep referenced this pull request in bep/hugo Nov 12, 2017
bep referenced this pull request in bep/hugo Nov 13, 2017
bep referenced this pull request in bep/hugo Nov 16, 2017
bep referenced this pull request in bep/hugo Nov 16, 2017
bep referenced this pull request in bep/hugo Nov 16, 2017
bep referenced this pull request in bep/hugo Nov 16, 2017
bep referenced this pull request in bep/hugo Nov 17, 2017
bep referenced this pull request in bep/hugo Nov 17, 2017
bep referenced this pull request in bep/hugo Nov 17, 2017
bep referenced this pull request in bep/hugo Nov 17, 2017
This commit adds support for multiple statDirs both on the global and language level.

A simple `config.toml` example:

```bash
staticDir = ["static1", "static2"]
[languages]
[languages.no]
staticDir = ["staticDir_override", "static_no"]
baseURL = "https://example.no"
languageName = "Norsk"
weight = 1
title = "På norsk"

[languages.en]
staticDir2 = "static_en"
baseURL = "https://example.com"
languageName = "English"
weight = 2
title = "In English"
```

In the above, with no theme used:

the English site will get its static files as a union of "static1", "static2" and "static_en". On file duplicates, the right-most version will win.
the Norwegian site will get its static files as a union of "staticDir_override" and "static_no".

This commit also concludes the Multihost support in gohugoio#4027.

Fixes #36
Closes gohugoio#4027
bep added a commit that referenced this pull request Nov 17, 2017
This commit adds support for multiple statDirs both on the global and language level.

A simple `config.toml` example:

```bash
staticDir = ["static1", "static2"]
[languages]
[languages.no]
staticDir = ["staticDir_override", "static_no"]
baseURL = "https://example.no"
languageName = "Norsk"
weight = 1
title = "På norsk"

[languages.en]
staticDir2 = "static_en"
baseURL = "https://example.com"
languageName = "English"
weight = 2
title = "In English"
```

In the above, with no theme used:

the English site will get its static files as a union of "static1", "static2" and "static_en". On file duplicates, the right-most version will win.
the Norwegian site will get its static files as a union of "staticDir_override" and "static_no".

This commit also concludes the Multihost support in #4027.

Fixes #36
Closes #4027
@github-actions
Copy link

github-actions bot commented Mar 8, 2022

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants