Git Product home page Git Product logo

lluuuo.github.io's Introduction

LessOrMore

致谢

使用

下载

使用git从LessOrMore主页下载项目

git clone https://github.com/luoyan35714/LessOrMore.git

配置

LessOrMore项目需要配置的只有一个文件_config.yml,打开之后按照如下进行配置。

特别注意baseurl的配置。如果是***.github.io项目,不修改为空''的话,会导致JS,CSS等静态资源无法找到的错误

name: 博客名称
email: 邮箱地址
author: 作者名
url: 个人网站
# baseurl修改为项目名,如果项目是'***.github.io',则设置为空''
baseurl: "/LessOrMore"
resume_site: 个人简历网站
github: github地址
github_username: github用户名称
# 请到百度统计官网[https://tongji.baidu.com/](https://tongji.baidu.com/)申请自己的网站ID并在此处替换,否则将无法正常统计访问量
baidu_analysis: 94be4b0f9fc5d94cc0d0415ea6761ae9
# 请到revolvermaps [http://www.revolvermaps.com/?target=setupgl](http://www.revolvermaps.com/?target=setupgl)申请自己的网站ID并在此处替换,否则将无法正常统计访问量
revolvermaps: 5ytn1ssq6za

关于统计

本项目支持三种统计,分别是

百度统计是后台统计,并没有再页面有任何展示,但是可以通过登录百度统计官网查看更详细的访问记录分析。 当Fork本项目之后需要去百度统计官网申请自己的baidu统计ID替换 _config.yml 文件中的 baidu_analysis

revolvermaps地图统计是展示在左侧当行栏的地图展示,具体展示形式可以去官网定制。 当Fork本项目之后需要去revolvermaps地图官网申请自己的统计ID, 替换_config.yml 文件中的 revolvermaps

不蒜子统计是出现在页面右上角的本站总访问量n次统计,本统计会自动识别客户所对应的域名,根据不同域名统计,所以并不需要Fork本项目者做任何修改。 更多不蒜子的展示方式可以去官网查看。

如何写文章

LessOrMore/_posts目录下新建一个文件,可以创建文件夹并在文件夹中添加文件,方便维护。在新建文件中粘贴如下信息,并修改以下的titile,date,categories,tag的相关信息,添加* content {:toc}为目录相关信息,在进行正文书写前需要在目录和正文之间输入至少2行空行。然后按照正常的Markdown语法书写正文。

---
layout: post
#标题配置
title:  标题
#时间配置
date:   2016-08-27 01:08:00 +0800
#大类配置
categories: document
#小类配置
tag: 教程
---

* content
{:toc}


我是正文。我是正文。我是正文。我是正文。我是正文。我是正文。

执行

jekyll server

效果

打开浏览器并输入URLhttp://localhost:4000/,回车。

写在最后

如果你也像我一样在寻觅一个简洁的博客主题。不妨试下LessOrMore。

lluuuo.github.io's People

Contributors

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