Giter Site home page Giter Site logo

adamgreenough / nicholas Goto Github PK

View Code? Open in Web Editor NEW
64.0 8.0 8.0 93 KB

✨ Ultra-lightweight, no-fuss, flat-file & nearly-headless blogging system

Home Page: https://nicholas.addy.zone/

License: MIT License

PHP 85.33% Hack 4.63% CSS 10.03%
php markdown cms flat-file blog minimalist portable lightweight headless api

nicholas's Introduction

nicholas's People

Contributors

adamgreenough avatar apparentorder avatar czmoodydev avatar dependabot-support avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nicholas's Issues

About page

I know your goal with this platform was a simple blogging system, but would it be possible to add a way to add static pages like an "about" page?

Add tests

Tests required for API endpoints, JSON & RSS feeds, potentially front-end functionality

HEAD requests generate 404

Currently, any HEAD request on a post's (slug) URL will return HTTP/404 Not found.

This seems to be related to the request routing code, e.g.

$router->map('GET','/[:slug]/', function($slug) {

I can change this to read GET|HEAD instead, and it actually generates HTTP/200 for HEAD requests then, but it does also output Content-Length: 0 in this case, which is wrong. It's still better than returning a 404, but clearly not the correct fix.

Is there an easy way to generate proper HEAD responses in nicholas?

TIA!

Simple Theme system

Add classes in the html code so that a simple css file can be used to create themes by changing colors, font ...

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.