Giter Club home page Giter Club logo

pure-blog's Introduction

pure-blog

Pure Blog, a simple SPA blog.

Project setup

yarn install

Compiles and hot-reloads for development

yarn run serve

Compiles and minifies for production

yarn run build

Configuration

Edit src/App.config.js to configure this app.

import avatar from "./assets/avatar.png";

export default {
  info: {
    title: "use for home link",
    name: "your name",
    bio: "your bio",
    avatar, // path to avatar
    username: "username of github for make a link",
    social: {
      // for generate social link in footer
      github: "https://github.com/(your username here)",
      others: "link/to/others/social/site"
    }
  },
  config: {
    // delete this block to disable ga
    ga: {
      id: "tack id of google analysis"
    },
    // delete this block to disable gitalk
    gitalk: () => ({
      clientID: "client id",
      clientSecret: "client secret",
      repo: "repo for store comments",
      owner: "username of owner",
      admin: ["array of usernames"],
      id: "uniqueness and less then 50", // location.path
      distractionFreeMode: false // masking on focus
    })
  }
};

Front Matter

Front matter of post file.

---
title: title of post # *required
subtitle: some descriptions about this post # *required
date: 2018-12-16 00:00:00 +8 # *required, time zone is optional
# NOTICE: `date` is used as unique id for initial comment issues by gitalk,
# so DO NOT change it after issue was created! 
# Otherwise new issue will be created,
# and old comments will be lost.
lastUpdateTime: 2018-12-20 13:01:37 +8 # *optional, show at post page if exists
externalCSS: file name of external CSS if need # optional
tags: # optional, show at homepage if exists
  - tags list
  - it's an array
---

Commit labels

  • docs: updates about documents.
  • update: normal update.
  • fix: fixes bugs.
  • refactor: source refactor.
  • feat: new features finished.

Todo list

  • about me page
  • tags page
  • Searching
  • i18n
  • images zoom viewer
    • use medium-zoom tool
  • scroll to top
  • loading pages
    • hand-write loading pages
    • pending to new method, for instance, generate loading pages automatically
  • stylize theme
    • normal theme
    • dark theme

pure-blog's People

Contributors

zfanli avatar

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.