Unclear where custom template should reside
See original GitHub issueThe documentation on the page http://developer.lightbend.com/docs/paradox/latest/features/theming.html#create-local-templates is not working. I have this build.sbt
:
name := "Foo Bar"
scalaVersion := "2.12.1"
enablePlugins(ParadoxSitePlugin)
paradoxTheme := None
But when I run sbt previewSite
, it doesn’t find the template:
java.lang.RuntimeException: StringTemplate 'page' was not found for '/home/hhrutz/IEM/Projektantraege2014/website/target/paradox/paradox/html/index.html'. Create a template or set a theme that contains one.
at scala.sys.package$.error(package.scala:27)
at com.lightbend.paradox.template.PageTemplate.write(PageTemplateSystem.scala:55)
I have copied the generic theme:
$ ls -la src/main/paradox/_template/
total 48
drwxr-xr-x 4 hhrutz hhrutz 4096 Jan 30 16:25 .
drwxr-xr-x 3 hhrutz hhrutz 4096 Jan 30 16:28 ..
drwxr-xr-x 3 hhrutz hhrutz 4096 Jan 30 16:20 css
drwxr-xr-x 2 hhrutz hhrutz 4096 Jan 30 16:20 js
-rw-r--r-- 1 hhrutz hhrutz 622 Jan 30 16:20 menu.st
-rw-r--r-- 1 hhrutz hhrutz 298 Jan 30 16:25 navigation.st
-rw-r--r-- 1 hhrutz hhrutz 3990 Jan 30 16:20 page.st
-rw-r--r-- 1 hhrutz hhrutz 145 Jan 30 16:20 source.st
-rw-r--r-- 1 hhrutz hhrutz 42 Jan 30 16:20 title.st
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Confused about creating template/script - Tips
If not, then modify the French or German version, which reside in their own folders. Inside English.lproj you will find the actual template...
Read more >Common reasons why your AE template was rejected
Users like to have the ability to customize the template to match their own unique brand and style. The color controllers should live...
Read more >Django AllAuth Customized Templates Not Being Recognized
You have to put allauth AFTER the app in which your templates reside. ... You should place your template files under templates/account not...
Read more >Create a live/surround template - ReSharper - JetBrains
Each live template is identified by a Shortcut — a short string of characters, for example foreach — that you can type right...
Read more >How to create effective document templates | Zapier
Perhaps you send regular project updates to clients or investors. With a template, you know the update will always have the same formatting,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes,
paradoxProperties
has to be scoped usingParadox
instead ofCompile
with the sbt-site plugin:Oh ok, I see,
ParadoxSitePlugin
usessrc/paradox
instead ofsrc/main/paradox
, but now it doesn’t pick upparadoxProperties
. So these are other problems now, closing the issue.