Coder Social home page Coder Social logo

leapdao-website's Introduction

leapdao-website

Init

yarn git submodule init git submodule update

Build

gulp

Running locally

  1. gulp dev
  2. Start some http server (for http-server package — http-server -c-1)
  3. Open it in the browser (http://localhost:8080 is default for http-server)

You can use livereload extendsion

Adding blog articles

Add new file my-super-article.md to src/blog/content/. Content of the file as follows:

---
template: post.html
title:    "Article title goes here"
date:     2018-03-28 00:00:00
image:    image-to-be-used-for-preview.png
author:
  name: name
  twitter: "@handle"
  link: https://github.com/name/
description: short summary of the article and will be shown in twitter preview.
---

Text of the article goes here

Adjust filename, title, date, image and text.

  • filename - will be used in article URL. E.g. /blog/my-super-article.
  • title - article name. Shown on the article list page and on the article page.
  • date - article publishing date. Shown on the article list page and on the article page. Articles on the article list page are sorted by this date (latest first).
  • author - (optional) either an author name or an object with author details:
    • name — name
    • twitter — (optional) twitter handle. Will be used in link and in twitter:card
    • link — (optional) arbitrary link. If both link and twitter specified, twitter will be used.
  • description - short summary of the post to be used in previews and snippets (e.g. twitter)
  • text - text of the article in Markdown format.

Commit the file to github. Our CI server will do the rest and your article will be available shortly at test.leapdao.org/blog/my-super-article.

leapdao-website's People

Contributors

sunify avatar johannbarbie avatar troggy avatar jet86 avatar art1c0 avatar iamonuwa avatar pinkiebell avatar

Watchers

James Cloos 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.