Repository: lemonchann/lemonchann.github.io
Branch: master
Commit: 6e58f1d68424
Files: 34
Total size: 106.8 KB
Directory structure:
gitextract_c_4jo15q/
├── .gitignore
├── 404.md
├── CNAME
├── LICENSE
├── README.md
├── _config.yml
├── _includes/
│ ├── analytics.html
│ ├── disqus.html
│ ├── fonts.html
│ ├── footer.html
│ ├── gitalk.html
│ ├── head.html
│ ├── meta.html
│ ├── nav.html
│ ├── svg-icons.html
│ └── toc.html
├── _layouts/
│ ├── default.html
│ ├── page.html
│ └── post.html
├── _posts/
│ └── 2019-11-22-create_blog_with_github_pages.md
├── _sass/
│ ├── _gitalk.scss
│ ├── _highlights.scss
│ ├── _open-color.scss
│ ├── _reset.scss
│ └── _variables.scss
├── about.md
├── archive/
│ └── index.html
├── googledb06e025310e016e.html
├── images/
│ └── template.psd
├── index.html
├── js/
│ └── simple-jekyll-search.js
├── search.json
├── style.scss
└── tags/
└── index.html
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitignore
================================================
# jekyll local file
.jekyll*
_site
================================================
FILE: 404.md
================================================
---
layout: page
title: 404 - Page not found
---
Sorry, we can't find that page that you're looking for. You can try again by going [back to the homepage]({{ site.baseurl }}/).
[{: .center-image}]({{ site.baseurl }}/)
================================================
FILE: CNAME
================================================
#填上自己的域名(如果有申请)
================================================
FILE: LICENSE
================================================
MIT License
Copyright (c) 2019 FromEndWorld
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
================================================
FILE: README.md
================================================
这是一个可 fork 的博客模板仓库,帮助你快速搭建自己的博客,可以参考我博客的[这篇文章]( https://lemonchann.github.io/create_blog_with_github_pages/ )详细指导搭建步骤。
### 文章版权
`_posts` 文件夹内所有文章版权归我所有,转载需联系我获得授权。
### 致谢
感谢Jekyll主题[LOFFER](https://fromendworld.github.io/LOFFER/)模提供了原始主题模板,我在其上进行的二次开发。
如果搭建过程中有什么问题,也可以扫码添加我的个人技术公众号讨论交流。
**这是一个专注编程知识和资源分享的公众号,包含各类编程学习路线,让你在编程路上少走弯路**

================================================
FILE: _config.yml
================================================
#
# This file contains configuration flags to customize your site
#
# Name of your site (displayed in the header)
name: "lemon's blog"
# Short bio or description (displayed in the header)
description: "个人技术公众号:程序员柠檬 分享编程资源 | 学习路线"
#
# Flags below are optional
#
# URL of your avatar or profile pic (you could use your GitHub profile pic)
avatar: https://github.com/lemonchann/images/raw/master/gzh/%E6%96%87%E6%9C%AB%E6%8E%A8%E5%B9%BF%E6%96%87%E6%A1%88.png
# 你的favicon(出现在浏览器tab上)图片URL,建议使用较小(64px × 64px)的图片
favicon: https://github.com/lemonchann/lemonchann.github.io/raw/master/images/favicon.ico
# Tabs in header. There are 'Blog', 'About', 'Archive', 'Tags'
# and URL Link(e.g. 'Theme' tab below) tabs. If you don't need one, just delete
# it from the list(Delete '- name: ' and 'url: ', too!)
navigation:
- name: 首页
url: /
- name: 关于
url: /about
- name: 归档
url: /archive
- name: 标签
url: /tags
# Pagination
paginate: 8
excerpt_separator:
# Includes an icon in the footer for each username you enter
footer-links:
#weibo: frommidworld #请输入你的微博个性域名 https://www.weibo.com/
behance: # https://www.behance.net/
dribbble:
zhihu: ning-meng-cheng-31-94
email: llong87@163.com
facebook:
flickr:
github: lemonchann
googleplus: # anything in your profile username that comes after plus.google.com/
instagram:
linkedin:
pinterest:
rss: # just type anything here for a working RSS icon
stackoverflow: # your stackoverflow profile, e.g. "users/50476/bart-kiers"
tumblr: # https://.tumblr.com
#twitter: frommidworld
youtube:
# Text under the icons in footer
footer-text: Copyright (c) 2019 lemon
# Enter your Disqus shortname (not your username) to enable commenting on posts
# You can find your shortname on the Settings page of your Disqus account
disqus: # fromendworld
# Gitalk
gitalk:
clientID: bd65d5c0df878155b7fa
clientSecret: d0220762c05c2d6b6f6152a0f0e4b6b090de9729
repo: lemonchann.github.io
owner: lemonchann
# Enter your Google Analytics web tracking code (e.g. UA-2110908-2) to activate tracking
#google_analytics:
# Your website URL (e.g. http://barryclark.github.io or http://www.barryclark.co)
# Used for Sitemap.xml and your RSS feed
url: https://lemonchann.github.io
# If you're hosting your site at a Project repository on GitHub pages
# (http://yourusername.github.io/repository-name)
# and NOT your User repository (http://yourusername.github.io)
# then add in the baseurl here, like this: "/repository-name"
# baseurl:
#
# !! You don't need to change any of the configuration flags below !!
#
permalink: /:title/
paginate_path: /page:num/
# The release of Jekyll Now that you're using
version: v1.2.0
# Jekyll 3 now only supports Kramdown for Markdown
kramdown:
# Use GitHub flavored markdown, including triple backtick fenced code blocks
input: GFM
# Jekyll 3 and GitHub Pages now only support rouge for syntax highlighting
syntax_highlighter: rouge
syntax_highlighter_opts:
# Use existing pygments syntax highlighting css
css_class: 'highlight'
# Set the Sass partials directory, as we're using @imports
sass:
style: :expanded # You might prefer to minify using :compressed
# Use the following plug-ins
plugins:
- jekyll-sitemap # Create a sitemap using the official Jekyll sitemap gem
- jekyll-feed # Create an Atom feed using the official Jekyll feed gem
- jekyll-paginate
# Exclude these files from your production _site
exclude:
- Gemfile
- Gemfile.lock
- LICENSE
- README.md
- CNAME
================================================
FILE: _includes/analytics.html
================================================
{% if site.google_analytics %}
{% endif %}
================================================
FILE: _includes/disqus.html
================================================
{% if site.disqus %}
{% endif %}
================================================
FILE: _includes/fonts.html
================================================
================================================
FILE: _includes/footer.html
================================================
{% include svg-icons.html %}
{% if site.footer-text %}
{% endif %}
{% if site.footer-links.stackoverflow %}
{% endif %}
{% if site.footer-links.tumblr %}
{% endif %}
{% if site.footer-links.twitter %}
{% endif %}
{% if site.footer-links.youtube %}
{% endif %}
================================================
FILE: _includes/toc.html
================================================
{% capture tocWorkspace %}
{% comment %}
Version 1.0.8
https://github.com/allejo/jekyll-toc
"...like all things liquid - where there's a will, and ~36 hours to spare, there's usually a/some way" ~jaybe
Usage:
{% include toc.html html=content sanitize=true class="inline_toc" id="my_toc" h_min=2 h_max=3 %}
Parameters:
* html (string) - the HTML of compiled markdown generated by kramdown in Jekyll
Optional Parameters:
* sanitize (bool) : false - when set to true, the headers will be stripped of any HTML in the TOC
* class (string) : '' - a CSS class assigned to the TOC
* id (string) : '' - an ID to assigned to the TOC
* h_min (int) : 1 - the minimum TOC header level to use; any header lower than this value will be ignored
* h_max (int) : 6 - the maximum TOC header level to use; any header greater than this value will be ignored
* ordered (bool) : false - when set to true, an ordered list will be outputted instead of an unordered list
* item_class (string) : '' - add custom class(es) for each list item; has support for '%level%' placeholder, which is the current heading level
* baseurl (string) : '' - add a base url to the TOC links for when your TOC is on another page than the actual content
* anchor_class (string) : '' - add custom class(es) for each anchor element
Output:
An ordered or unordered list representing the table of contents of a markdown block. This snippet will only
generate the table of contents and will NOT output the markdown given to it
{% endcomment %}
{% capture my_toc %}{% endcapture %}
{% assign orderedList = include.ordered | default: false %}
{% assign minHeader = include.h_min | default: 1 %}
{% assign maxHeader = include.h_max | default: 6 %}
{% assign nodes = include.html | split: ' maxHeader %}
{% continue %}
{% endif %}
{% if firstHeader %}
{% assign firstHeader = false %}
{% assign minHeader = headerLevel %}
{% endif %}
{% assign lastIndent = indentAmount %}
{% assign indentAmount = headerLevel | minus: minHeader | add: 1 %}
{% if lastHeaderLevel and lastHeaderLevel == headerLevel %}
{% assign indentAmount = lastIndent %}
{% elsif lastIndent and lastIndent < indentAmount %}
{% assign indentAmount = lastIndent | plus: 1 %}
{% endif %}
{% assign _workspace = node | split: '' | first }}>{% endcapture %}
{% assign header = _workspace[0] | replace: _hAttrToStrip, '' %}
{% assign space = '' %}
{% for i in (1..indentAmount) %}
{% assign space = space | prepend: ' ' %}
{% endfor %}
{% unless include.item_class == blank %}
{% capture listItemClass %}{:.{{ include.item_class | replace: '%level%', headerLevel }}}{% endcapture %}
{% endunless %}
{% capture heading_body %}{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}{% endcapture %}
{% capture my_toc %}{{ my_toc }}
{{ space }}{{ listModifier }} {{ listItemClass }} [{{ heading_body | replace: "|", "\|" }}]({% if include.baseurl %}{{ include.baseurl }}{% endif %}#{{ html_id }}){% if include.anchor_class %}{:.{{ include.anchor_class }}}{% endif %}{% endcapture %}
{% endfor %}
{% if include.class %}
{% capture my_toc %}{:.{{ include.class }}}
{{ my_toc | lstrip }}{% endcapture %}
{% endif %}
{% if include.id %}
{% capture my_toc %}{: #{{ include.id }}}
{{ my_toc | lstrip }}{% endcapture %}
{% endif %}
{% endcapture %}{% assign tocWorkspace = '' %}{{ my_toc | markdownify | strip }}
================================================
FILE: _layouts/default.html
================================================
{% include head.html %}
{% include nav.html %}
{% if page.toc==true %}
{% endif %}
{{ content }}
{% include analytics.html %}
{% if page.toc==true %}
{% endif %}