Skip to content
A Publish theme for the Publish static site generator
Swift CSS
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Resources/BrianTheme
Sources/BrianPublishTheme
Tests
.gitignore
LICENSE
Package.swift
README.md

README.md

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)
You can’t perform that action at this time.