Giter Club home page Giter Club logo

kirby-redirect's Introduction

Kirby Redirect

Version Kirby

With this plugin for Kirby 2 editors can create pages which redirect to its first visible child, any other page or an external url.

Requirements

Please notice that you need at least Kirby 2.3 to use this plugin.

Preview

Preview

Installation

Just put the redirect folder in the site/plugins folder of your Kirby installation. If this folder doesn't exist, create it.

There's a package.json file included if you want to use the Kirby CLI.

Customization

If you like, you can copy and paste the blueprint from site/plugin/redirect/blueprints/redirect.yml to site/blueprints/redirect.yml to adjust the text or add some translations.

But please make sure not to change the keys of the fields.

Changelog

1.0

  • add page model and isExternal() page method
  • some more documentation (and changelog)

0.2

  • check if page exists before redirecting
  • add possibility to redirect to external url

0.1

  • initial version

Authors

kirby-redirect's People

Contributors

flokosiol avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

kirby-redirect's Issues

FR: add option for external redirects

Hi there,

thanks for this handy plugin. I stumbled upon this in the Kirby forum, because I was searching for a neat way to add external redirects to the menu. Do you have any plans to implement this as well? Unfortunately there is no such thing as conditional fields in the panel, otherwise one could simply add a toggle internal/external and either add a url or a page field.

Cheers

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.