Laravel static site/blog generator with markdown support.

Overview

Katana static site & blog generator

Latest Version on Packagist Software License Total Downloads

PHP static site & blog generator with markdown support.

Using the power of laravel's Blade templating engine.

Katana static site & blog generator

Katana was inspired by Jigsaw by Adam Wathan and the folks at Tighten.

Requirements

  • PHP 5.5.9+ or newer
  • Apache or Nginx server
  • Composer

Installation

To install a fresh Katana installation you need to install composer & run the following command:

composer create-project themsaid/katana my-new-site

Once the installation is done you may build your website using the command:

php katana build

Katana is shipped with sample content to help you get started immediately, and after this command runs your site will be generated in the /public directory.

Documentation

The complete Katana documentation can be found here: http://themsaid.github.io/katana/

Blog generator

Katana is shipped with a static blog generator, all you need to do is create a new .blade.php file in the /content/_blog directory and Katana will compile all the posts and present them in a view of your choice.

Blog posts list is paginated based on the configuration options in config.php. There's also a $blogPosts variable available in all your blade views that contains an array of posts.

Blade templating engine

Blade is a simple yet powerful templating engine built for laravel, you need to check Blade's documentation if you're not already familiar with it.

Using with GitHub Pages

You can use Katana to publish a website over GitHub Pages using subtrees, the idea is to deploy the public directory as the master branch of your user GitHub pages repository or the gh-pages branch of your project repository.

You can find the full details in the documentation.

Contribution

Contributions are welcomed in this repository https://github.com/themsaid/katana-core where all source files exist.

You might also like...
🍪 A Cookiecutter template for a fresh Kirby site

Kirby Plainkit Cookiecutter A Cookiecutter template to start a fresh Kirby site with a public folder setup. Features A fresh, git(Hub)-ready plainkit

One click, Fully Decoupled Drupal Site starter-kit with Druxt

DruxtSite quickstart - Drupal One click, Fully Decoupled Drupal Site starter-kit with Druxt. DruxtSite connects Drupal to Nuxt via JSON:API to provide

A prototype generator to quickly generate prototypes based on Neos nodetype definitions.
A prototype generator to quickly generate prototypes based on Neos nodetype definitions.

UpAssist.PrototypeGenerator What does this package do? This package lets you create scaffolding for prototypes for Neos using the commandline. Why did

Integration of Adminator into Laravel 6.x/7.x/8.x with RTL support
Integration of Adminator into Laravel 6.x/7.x/8.x with RTL support

Laradminator Laravel PHP Framework with Adminator as admin dash Setup: All you need is to run these commands: git clone https://github.com/kossa/larad

Laravel 5 boilerplate with front-end and back-end support

Laravel 5 Boilerplate with Skeleton framework Skeleton (as of now) Laravel 5 framework application. Application includes and/or are currently being us

A Laravel dashboard front-end scaffolding preset for Tailwind CSS - Support RTL out of the box.
A Laravel dashboard front-end scaffolding preset for Tailwind CSS - Support RTL out of the box.

🔥 Laravel tailwind css dashboard preset A Laravel dashboard front-end scaffolding preset for Tailwind CSS - Support RTL out of the box. Usage Fresh i

🧿 Build navigation or menu for Laravel and Awes.io. Unlimited complexity and depth, with permissions and sorting support.
🧿 Build navigation or menu for Laravel and Awes.io. Unlimited complexity and depth, with permissions and sorting support.

Navigator Laravel package that can easily create navigation menus of any complexity. With support for routing, permissions, sorting, rendering depth,

Laravel framework with integrated NuxtJs support, preconfigured for eslint, jest and vuetify.
Laravel framework with integrated NuxtJs support, preconfigured for eslint, jest and vuetify.

Laravel framework with integrated NuxtJs support, preconfigured for eslint, jest and vuetify.

This package provides an artisan command to generate a basic crud with Restful API support

NHRROB Crud Generator Package This package provides an artisan command to generate a basic crud composer install command: composer require nhrrob/crud

Comments
  • Meta description for pages and posts

    Meta description for pages and posts

    This way you can set meta description per page if wanted and all posts have it already set.

    If you are on /about page you can set

    @section('pageDescription', 'This is my about page.')
    

    And it will show in meta description for that page. If you leave it out it will show the default $siteDescription

    opened by mabasic 1
  • Replace Laravel Elixir for Laravel Mix

    Replace Laravel Elixir for Laravel Mix

    • Replace Laravel Elixir for Laravel Mix.
    • Remove gulpfile.js and add webpack.mix.js.
    • Replace plain CSS files for SASS.
    • Add a starter JavaScript file so Mix works out of the box with it.

    Laravel Mix has better support from now on as it is the main asset management tool for Laravel now and it also makes importing JavaScript and CSS libraries simpler.

    opened by ghost 0
Releases(v1.1.0)
Owner
Mohamed Said
Web developer at Laravel
Mohamed Said
A new blog system based on laravel+vue

Lumen PHP Framework Laravel Lumen is a stunningly fast PHP micro-framework for building web applications with expressive, elegant syntax. We believe d

white 14 Nov 4, 2022
An open source blog, made using Laravel, Inertia.js, and React.js. Also a learning repository.

Blog An open source Laravel-based blog. Still in progress, will be updated regularly as I wrote articles on my blog. Configurations Shared-hosting, an

Aghits Nidallah 8 Dec 6, 2022
Website yang berisi artikle blog sederhana

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

null 1 Nov 16, 2021
Base Laravel framework with a simple admin site/dashboard

Base Laravel Admin Just a basic Laravel 4.1 install with a admin site/dashboard using Bootstrap 3.0.3 For those (like me) who set up lots of small sys

Alex Dover 1 Nov 6, 2015
Laravel Framework 5 Bootstrap 3 Starter Site is a basic application with news, photo and video galeries.

Laravel Framework 5.1 Bootstrap 3 Starter Site Starter Site based on on Laravel 5.1 and Boostrap 3 Features Requirements How to install Application St

null 900 Dec 22, 2022
Basic Crud Generator (With Code Files, like GII (YII2)) Using Laravel, Livewire and Tailwind CSS

LiveCrud Live Crud Generator. This package generates Basic Crud with Livewire. Features Generate Complete Crud With Livewire Component and Blade Files

Ritesh Singh 28 Oct 12, 2022
Laravel CRUD Generator, Make a Web Application Just In Minutes, Even With Less Code and fewer Steps !

?? CRUDBOOSTER - Laravel CRUD Generator Laravel CRUD Generator, Make a Web Application Just In Minutes, Even With Less Code and fewer Steps ! About CR

Crocodic Studio 1.7k Jan 8, 2023
Project skeleton generator for Laravel & Lumen projects

Skeletor Skeletor is a PHP based CLI tool that has been built to take away the pain of setting up a base project skeleton for Laravel & Lumen projects

Wouter 39 Oct 4, 2022
🚀 A quickstart generator for Laravel projects

?? Initializer for Laravel Initializer for Laravel takes a visual, approach to setting up a new Laravel project. Fill out the form, choose the compone

Niclas van Eyk 59 Oct 12, 2022