Giter VIP home page Giter VIP logo

lyra-custom's Introduction

Lyra

A paid-members publication for Ghost. Can be used with no code knowledge required.

Installation instructions

  1. Download this theme
  2. Log into Ghost, and go to the Design settings area to upload the zip file
  3. Unzip the theme archive on your computer and locate the file called routes.yaml
  4. Inside Ghost admin, go to the Labs settings area and scroll down until you see the Custom Routes section
  5. Upload the routes.yaml from this theme

That's it! You now have a Ghost publication which supports free and paid memberships. If you need help, check out the Ghost members documentation or chat with other Ghost users on Ghost forum.

Screenshot of a subscribers only post

Upgrade instructions

  1. Download this theme and rename the zip for ease of identification in Ghost later. For example 2022-10-20_Lyra-main.zip
  2. Log into Ghost, 4. go to the Labs settings area and scroll down until you see the Routes section
  3. Download your current routes.yaml file
  4. Next go to the Design settings area and click Change Theme at the bottom of the navigation pane
  5. Click the Upload theme button in the top right and upload the zip file you downloaded and renamed earlier (for example 2022-10-20_Lyra-main.zip)
  6. You will now see two instances of Lyra similar to the screenshot below Themes list showing two copies of Lyra
  7. Ensure your new Lyra theme is active (based on the renamed zip from earlier, lyra (2020-10-31_Lyra-main) in the screenshot)
  8. Delete the previous Lyra theme (lyra (Lyra-master) in the screenshot) 9Upload routes.yaml as required (see Installation instructions above)

Development

Styles are compiled using Gulp/PostCSS to polyfill future CSS spec. You'll need Node, Yarn and Gulp installed globally. After that, from the theme's root directory:

# Install
yarn

# Run build & watch for changes
$ yarn dev

Now you can edit /assets/css/ files, which will be compiled to /assets/built/ automatically.

The zip Gulp task packages the theme files into dist/<theme-name>.zip, which you can then upload to your site.

yarn zip

PostCSS Features Used

  • Autoprefixer - Don't worry about writing browser prefixes of any kind, it's all done automatically with support for the latest 2 major versions of every browser.
  • Variables - Simple pure CSS variables
  • Color Function

Copyright & License

Copyright (c) 2013-2022 Ghost Foundation - Released under the MIT license.

lyra-custom's People

Contributors

renovate-bot avatar johnonolan avatar minimaluminium avatar renovate[bot] avatar peterzimon avatar daniellockyer avatar erisds avatar naz avatar rishabhgrg avatar theodorechu avatar joncojonathan avatar pieronoviello avatar sam-lord avatar rafaelstz avatar sudo-owen avatar ndarilek avatar kevinansfield avatar allouis avatar stromfeldt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.