harold-scripts
Advanced tools
Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "harold-scripts", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Harold JS Scripts for Create Harold App", | ||
@@ -5,0 +5,0 @@ "author": "Julian Ćwirko (julian.io)", |
@@ -94,3 +94,3 @@ const fs = require('fs'); | ||
item.coverImage && !noImage | ||
? `<div class="${className}--image"><a href="${config.postsDirName}/${item.fileName}"><img src='${item.coverImage}' alt="${item.title}" /></a></div>` | ||
? `<div class="${className}--image"><a href="/${config.postsDirName}/${item.fileName}"><img src='${item.coverImage}' alt="${item.title}" /></a></div>` | ||
: '' | ||
@@ -107,3 +107,3 @@ } | ||
<div class="${className}--title"> | ||
<a href="${config.postsDirName}/${item.fileName}"> | ||
<a href="/${config.postsDirName}/${item.fileName}"> | ||
${item.title} | ||
@@ -127,3 +127,3 @@ </a> | ||
? `<div> | ||
<a href="${config.postsDirName}/${item.fileName}" class="${className}--button">${readMoreButtonLabel}</a> | ||
<a href="/${config.postsDirName}/${item.fileName}" class="${className}--button">${readMoreButtonLabel}</a> | ||
</div>` | ||
@@ -130,0 +130,0 @@ : '' |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21750