Class SitePaths
java.lang.Object
net.jonathangiles.tools.sitebuilder.util.SitePaths
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringcreateRelativePath(Path path) static PathcreateRelativePath(Path basePath, Path file) static Consumer<SiteContent> createSlugDirStructure(String prefix, boolean createYearDirs) This approach will ignore the directory structure of the input files, instead creating directories based on the slugs contained within each post.
-
Method Details
-
createRelativePath
-
createRelativePath
-
createSlugDirStructure
This approach will ignore the directory structure of the input files, instead creating directories based on the slugs contained within each post. It can optionally create directories for each year.
-