Brian theme for Publish
A Publish theme available to any Publish website.
Installation
To install it into your Publish package, add it as a dependency within your Package.swift
manifest:
let package = Package(
...
dependencies: [
...
.package(url: "https://github.com/dinsen/brianpublishtheme", from: "0.1.0")
],
targets: [
.target(
...
dependencies: [
...
"BrianPublishTheme"
]
)
]
...
)
For more information on how to use the Swift Package Manager, check out this article, or its official documentation.
Usage
The theme can then be used within any publishing pipeline like this:
import BrianPublishTheme
...
try Brian().publish(withTheme: .brian)