Open vpinna80 opened 5 months ago
Hi, I'm using version 2.3.4 of the skin with site plugin version 3.12.1. When I generate the site, i have the $resourcePath in final html output.
These are the relevant sections of my site.xml:
<project> <skin> <groupId>io.github.devacfr.maven.skins</groupId> <artifactId>reflow-maven-skin</artifactId> <version>${this.reflow.version}</version> </skin> <custom> <reflowSkin> <absoluteResourceURL>${this.siteUrl}</absoluteResourceURL> <localResources>true</localResources> ...other elements... <pages> ...pages... </pages> </reflowSkin> </custom> <body> ...body here... </body> </project>
and I get index.html with these wrong elements:
<title>#getTitlePage()</title> <meta name="generator" content="Generated by Apache Maven Doxia 2024-06-13"> <meta http-equiv="content-language" content="en" /> <link href="$resourcePath/css/reflow-skin.css" rel="stylesheet" /> <link href="$resourcePath/css/lightbox.css" rel="stylesheet" /> <link href="$resourcePath/css/site.css" rel="stylesheet" /> <link href="$resourcePath/css/print.css" rel="stylesheet" media="print" />
What could the reason be? Am I missing something elsewhere?
hello @vpinna80 , sorry for the delay. Are you set the url element in your pom.xml and siteUrl property ? Here is a simple example reflow-test.zip
url
siteUrl
Hi, I'm using version 2.3.4 of the skin with site plugin version 3.12.1. When I generate the site, i have the $resourcePath in final html output.
These are the relevant sections of my site.xml:
and I get index.html with these wrong elements:
What could the reason be? Am I missing something elsewhere?