Giter VIP home page Giter VIP logo

news-chicago's Introduction

News-Blog template

A G-News alike web application template, featuring view pager with gesture, popup context menu, search page, bookmarks.
Implemented as Progressive Web App, with background service worker and other optimizations.
Suitable both for desktop and mobile.

Based on zuix.js Web Starter and zuix.js HTML-PWA, this web application is implemented as a static site with markdown and liquid templates using 11ty engine.

-->>[ Demo and Docs ]<<--

Prerequisites

Node.js version 14 or higher is required to use this template.

Getting started

To create a new project using this template, enter the following command:

npx zuix new my-site-name -t news-blog

Commands

Starting the web server

  • npx zuix start to start the local web server

The zuix CLI tool can be used, among the other things, to initialize the web application and create new pages.

Initializing

  • npx zuix wipe-content

This command will delete all data contained in the content/ folder, required to wipe out all DEMO data after installation.

Adding new pages

Pages are grouped into sections. Each section creates a new view-pager tab, where all pages belonging to that section are listed in the form of cards, with a preview image, the title, the date and a button to pop up a context menu with options.

For example, to add a new post page in the travel section :

  • npx zuix add -s travel -n my-cruise-to-maldive

This will create a new post page named my-cruise-to-maldive/index.md inside the content/travel/ folder.

So, the -s option is used to specify the section under which the page will be included, while the -n options is used to specify the name of the page.

For complete documentation see zuix.js Web Starter.

References

news-chicago's People

Watchers

 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.