GithubHelp home page GithubHelp logo

fatihtatoglu / enginaer Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 742 KB

A simple static web site engine with javascript.

License: MIT License

JavaScript 90.96% Mustache 9.04%
website-engine enginaer javascript markdown html mustashe

enginaer's People

Stargazers

 avatar

Watchers

 avatar

enginaer's Issues

Generate AMP

The system may generate AMP from HTML automatically.

Multi Language Support

Adding multip language support in metadata and according to that information generate the menu.

Hide empty permalink folders

While generating result files, the Enginær engine uses the permalink property. In the example below, the folders 2018, 2020 are empty folders. However, while hosting the website you will take a 404 error.

image

To provide this issue, creating an auto-redirected HTML document will be useful.

<!DOCTYPE html>
<html>
   <head>
      <title>Enginær Engine</title>
      <meta http-equiv = "refresh" content = "0; url = {{base-url}}" />
   </head>
   <body>
      <p>Redirecting to home page.</p>
   </body>
</html>

Create a link structure for internal resources.

For adding a reference I need to add the whole address of the link. For example; [Blog Post](http://blog.example.com/post/blog-post.html).

With this feature, I want to write just [Blog Post](~/post/blog-post.html).

Compress HTML documents

After generating HTML documents, to keep output as a minimum size could be added some automatic compression for HTML documents.

Tag lists for templates

The post anda pages have tag or tags. In the current system there is no option tlfie filtering or navigating a post or page with a tag.

Series

A post may be a part of a whole story. The stories can have different parts as posts. If the templates provides this information, in the post there will be some additional options
, such as next posts or small internal list menu for showing all parts of the story.

Reading Time

Some people want to use their time more efficient. They may prefer reading short post rather than long posts or pages. Putting "reading duration" to the posts and pages support these people.

Metadata Menu Position

By adding a menu key in the metadata, the system can provide to customize the menu and its items. For example;

us.md

---
layout: page
permalink: ./about-us.html
menu: About
---

# Us

team.md

---
layout: page
permalink: ./about-team.html
menu: About
---

# Team

company.md

---
layout: page
permalink: ./about-company.html
menu: About
---

# Company

After generation, the 3 pages will be located under the About menu item.

  • Home
  • About
    • Us
    • Team
    • Company

sitemap.xml generation

Nowadays, blog sites need to have a sitemao.xml file. From the pages, it could be generated automatically.

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.