Skip to content
This repository has been archived by the owner on Nov 20, 2022. It is now read-only.
/ content-viewer Public archive

A nifty little Kirby widget that allows you to show a block of Kirbytext or Markdown content in Kirby's panel.

License

Notifications You must be signed in to change notification settings

calebgrove/content-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Content Viewer Kirby Widget

A nifty little Kirby 2 widget that allows you to show a block of Kirbytext or Markdown content in Kirby's panel. It is particularly useful for providing documentation for website editors.

Screenshot of the widget

Installation and Setup

Clone or download this repo, rename the folder to content-viewer, and move it into your /site/plugins/ folder. If you are using the Kirby CLI, you can install it with this command:

kirby plugin:install CalebGrove/content-viewer

Now, open up the panel and you should see the new widget on the dashboard. To change the content, click on the Edit button at the top-right of the widget. This option will only be visible to users with the role of administrator.

If you want to customize the CSS, you may do so by copying the styles.css file from this plugin's assets folder to /assets/plugins/content-viewer/styles.css. Kirby will now serve your version of the file, and updating this plugin won't overwrite it.

About

A nifty little Kirby widget that allows you to show a block of Kirbytext or Markdown content in Kirby's panel.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published