Git Product home page Git Product logo

awesome-electron's Introduction

StrayBirds

基于 GitHub Pages 搭建的极简博客,所有操作都可以直接通过浏览器完成。

示例

可以通过访问 StrayBirds 看到最终 的效果,下面是截图:

ui-demo

教程

使用方法

  1. 注册 GitHub,得到用户名,例如 minixbeta
  2. StrayBirds 页面,单击右上 角的 Fork
  3. 到你 Fork 后的项目中,将 _config.yml 中的 username 修改为你的用户名 minixbeta
  4. 访问你的博客 http://minixbeta.github.io/StrayBirds/

create_project

注意如果你是第一次使用 GitHub Pages,可能不会马上生效,等一段时间即可

按照配置中说的方法修改项目名称可能会加快这一进程

配置

  • 修改主题

_confg.yml 下修改 theme 的值。

注意修改主题后,并不会马上生效,GitHub 还要反应一段时间,所以请耐心等待

修改主题后, 按照配置中说的方法修改项目名称可能会加快这一进程

可选主题包括:

  • hack hack-demo
  • leap-day leap-day-demo
  • merlot merlot-demo
  • midnight midnight-demo
  • minimal minimal-demo
  • modernist modernist-demo
  • slate slate-demo
  • time-machine time-machine-demo
  • kunka kunka-demo
  • 修改项目名

例如将 StrayBirds 修改为 blog,那么你需要做的是

  1. 在项目的 Setting 中将 Repository name 从 StrayBirds 修改为 blog
  2. _config.yml 中的 baseurl 修改为 /blog
  3. 通过 http://minixbeta.github.io/blog/ 来访问你的新博客

create_post

  • 修改评论系统用户名

我们的评论系统使用的是 Disqus,如果你想在这份博客模板中使用,需要先去注册一下,然后得到一个用户名,例如 minixalpha。然后在 _config.yml 中将 disqusname 修改为 minixalpha。

千万注意: 如果你开启评论系统一定要修改这个值,不然就评论到我的评论系统中去了

添加文章

_post 目录下添加形如 2014-10-26-title.md 的文章,用 markdown 格式 撰写博客。

例如:

---
layout: default
title: Java 中的并发
comments: true
---


## 如何创建一个线程

按 Java 语言规范中的说法,创建线程只有一种方式,就是创建一个 Thread 对象。而从 HotSpot 虚拟机的角度看,创建一个虚拟机线程
有两种方式,一种是创建 Thread 对象,另一种是创建 一个本地线程,加入到虚拟机线程中。

...

其中 layout 表示布局,不用改变,title 表示文章题目,comments 表示是否要开户评论。

create_post

感谢

Thanks to authors of the themes:

All the themes are intergrated in the blog template, with some modifies.

awesome-electron's People

Contributors

arthurvr avatar brrd avatar brunowego avatar cheeaun avatar chrisdl avatar dcrousso avatar emorikawa avatar emsk avatar etiktin avatar g07cha avatar ishu3101 avatar jprichardson avatar jwu avatar kvnneff avatar marshallofsound avatar mawie81 avatar parro-it avatar ragingwind avatar rhysd avatar rokt33r avatar sbruchmann avatar sethlu avatar shama avatar sidneys avatar sindresorhus avatar teesloane avatar vitorgalvao avatar xwartz avatar zeke avatar zenorocha avatar

Watchers

 avatar  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.