Git Product home page Git Product logo

blog

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

示例

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

ui-demo

教程

使用方法

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

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
  • 修改项目名

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

  1. 在项目的 Setting 中将 Repository name 从 blog 修改为 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.

ashimidashajia's Projects

andfix icon andfix

AndFix is a library that offer hot-fix for Android App.

android-dynamical-loading icon android-dynamical-loading

Android projects of dynamically loading apk, which means that you can upgrade your Android APP or fix emergent bugs without any re-installation.

android-tech-frontier icon android-tech-frontier

一个定期翻译国外Android优质的技术、开源库、软件架构设计、测试等文章的开源项目

androidtutorial icon androidtutorial

你對「Tutorial」有什麼樣的感覺?每一種技術的Tutorial都告訴你這是學習的開始,不過最後好像都會變成折磨的開始。或許可以找出一種方式,讓Tutorial變成大家會很想要點它的超連結!

appium icon appium

Automation for iOS and Android Apps.

arminject icon arminject

An application to dynamically inject a shared object into a running process on ARM architectures.

binderdemo-1 icon binderdemo-1

Sample code for how to use Android binders from native (C++) space.

blog icon blog

Blog template based on github pages

cube-sdk icon cube-sdk

A light package for Android development, it handles loading image and network request.

dexhunter icon dexhunter

General Automatic Unpacking Tool for Android Dex Files

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.