Giter Site home page Giter Site logo

travelify's Introduction

Travelify

Introduction

Travelify is a clean, simple and fully responsive theme for Pico CMS. It is originally for WordPress by ColorLib (https://github.com/puikinsh/travelify).

What's supported

  • Global navigation bar
  • Global and page-specific sidebar

Installation

Download the repo, upload files to corresponding location and change the following setting within your config.php:

$config['theme'] = 'Travelify';

You also need to add the following new lines:

$config['site_subtitle'] = 'Another Pico CMS Site';
$config['site_copyright'] = 'Your Name Here';

Before you continue, make sure that you have copied content-sample/navbar.md and content-sample/slider.md to your content directory.

Customization

Navigation bar

File content-sample/navbar.md contains the list of items shown in main navigation bar. You may use Markdown to write a multi-level list there. For example:

- [Home](%base_url%)
- [Category 1](#)
	- [Page 1.1](%base_url%?a/a)
		- [Page 1.1.1](%base_url%?a/a/a)
	- [Page 1.2](%base_url%?a/b)
- [Category 2](#)
	- [Page 2.1](#)
	- [Page 2.2](#)

Slider

File content-sample/slider.md contains a list of image files as slides.

*   ![City of Helsinki](%base_url%/assets/slider/uh.jpg)
*   ![City of Helsinki](%base_url%/assets/slider/uh.jpg)

Sidebar

There are two kinds of sidebars, global and page-specific. The global sidebar display on all pages. If one page has its own page-specific sidebar, the latters will be displayed before global ones.

Global sidebar is located in content-sample/sidebars/ folder. You may add prefix to filename in order to maintain sorting.

Example of page-specific sidebars can be found in content-sample/a/a/sidebars/. In this example, the sidebar is effective only for pages located in content-sample/a/a directory, not include content-sample/a/a/a dictionary.

License

The theme is released for free under the terms of the GNU General Public License version 2 and some parts under their respective licenses. In general words, feel free and encouraged to use, modify and redistribute this theme however you like. You may remove any copyright references (unless required by third party components) and crediting is not necessary. The theme is offered free of charge. If someone asked money for it, someone just tricked you.

Preview

preview

travelify's People

Contributors

xupefei avatar joergmschulz avatar

Watchers

James Cloos 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.