← Articles

Website with Publish

25 December 2021 · 1 min read

Building website with Publish, hosting with GitHub.

By John Sundell JohnSundell/Publish: A static site generator for Swift developers

Why Publish (motivation/reasons)

  • Use Swift, Markdown, Git and GitHub
  • Use Working copy, iA Writer and iPad
  • Jekyll and Ruby drive me crazy
  • John Sundell is awesome

Getting started with Publish

Next

  • BEWARE IMPORTANT: ... if you use custom domain (GitHub repo Settings/Pages), otherwise deploying would overwrite custom domain (the repo's "Custom domain" setting is reset)

    try Blog().publish(
        withTheme: .foundation,
        plugins: [.splash(withClassPrefix: "")]
    )