Code Monkey home page Code Monkey logo

throwdown's Introduction

Throwdown

Version: 2.0.0

Putting your content into submission

About Throwdown

Throwdown is designed to be a simple barebones flat-file CMS engine that allows you to get to work. Plain and simple.

Requirements

  • Node.js v7.0.0+

Getting started:

You should be familiar with the following to better utilize this framework:

Powered by:

Then add whatever you like!

throwdown's People

Contributors

bmcminn avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

and pridemusvaire

throwdown's Issues

Article tag support

Articles should have the ability to be tagged. Planning to leverage this via FrontMatter.

Make the system flexible so the software can be installed on subdirectories instead of the root directory

There needs to a be a delimiter settings that defines what the root path for the system should be.

  • The root path should be defined by the config.php file and stored in the global ROOT_PATH definition.
  • If config.json doesn't define a "root_dir" property, then the value of "root_dir" is false.

This root path is removed from the URL string before index.php parses out the $requestURL array. This way $requestURL[1] will remain consistent across installs.

Remove `/themes` into the `/content` directory

In regards to #15, we should move /themes into the content folder.

This overall cleans up the root directory even further and provides a more contextual barrier to any potential reverse directory hacks by plugins and themes.

`/article` URL parsing

figure out how to make /articles work.

some sort of /tagged mechanism for taxonomy creation and search indexing

Installation on windows

Win XP, wamp local server at throwdowncms.loc. Composer installs all dependencies OK. Accessing it at throwdowncms.loc gives out :
Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR) in E:__misccms2\throwdowncms\app\config.php on line 36

Thanks

Petros

Article category support

Article categories are derived from the actual folder structure of your /content/articles/ directory.

If you place an article within a subdirectory of /articles then that sub directory is now a category. This makes managing cats and article meta EXTREMELY simple.

Remove all TODO files

They're unnecessary since this repos' Issues page is doing a fine job of defining and tracking features and their development.

Need to design a logo

Got a couple Ideas in mind on how to brand this thing. It's gonna be pretty sweet :)

Consider making theme templates exclusively in Mustache and extending with plugins

To help curb potential spaghetti code situations, maybe we should consider setting up a template class that has a number of helper methods involved to extend the Mustache object's functionality.

This would allow theme creators to leverage an already capable templating system (ie Mustache) and developers could then extend that functionality via plugins.

Reconfig 404/403 error pages as header redirect

PHP should assign a header("Location: $site_url/404"); redirect when a 404 conditional is met. This works around the whole "404" template generation by using a proper 404 signal from the server and avoids wierd conflicts with the template logic.

Need to modify page_404() to reflect this issue.

[feature] New figure shortcode

Write:

[[ figure | src: image/path/here.png | alt: describe image contents | caption: contextualized info about the image ]]

Get:

<figure>
<img src="image/path/here.png" alt="describe image contents">
<figcaption>Contextualized info about the image</figcaption>
</figure>

Option(s):

  • Let users write markdown in caption field
  • Let users pass custom classes to figure element?

Shortcodes

Implement wordpress style shortcodes for allowing custom content injection without requiring specific HTML markup...

Likely needs some sort of plugin architecture to support this.

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.