Swiftpack.co - Package - l1ghthouse/NoThemeForPublish

NoThemeForPublish

NoThemeForPublish is a very very minimal Publish theme without any headers, footers, menu etc.

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/l1ghthouse/NoThemeForPublish.git", from: "0.1.6")
    ],
    targets: [
        .target(
            ...
            dependencies: [
                ...
                "NoThemeForPublish"
            ]
        )
    ]
    ...
)

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 NoThemeForPublish
...
try YourSite().publish(withTheme: .notheme)

Github

link
Stars: 0

Dependencies

Used By

Total: 0

Releases

0.1.8 - 2020-10-04 05:33:06

0.1.7 - 2020-10-04 05:25:14

0.1.6 - 2020-10-04 04:54:30

0.1.5 - 2020-10-04 04:44:00

0.1.4 - 2020-10-04 04:27:26

0.1.3 - 2020-10-04 04:22:19

0.1.2 - 2020-10-03 16:40:22

Actually need swift version 5.2 for Netlify deployment

0.1.1 - 2020-10-03 16:22:42