Giter Site home page Giter Site logo

kukuqi666 / kukuqi666.github.io Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.61 MB

🎉欢迎访问我的博客主页!(Welcome to my blog website!)❤

Home Page: https://kukuqi666.github.io/

License: GNU General Public License v3.0

Ruby 2.34% HTML 43.62% Sass 20.80% SCSS 6.17% JavaScript 26.74% Batchfile 0.33%

kukuqi666.github.io's Introduction

简体中文 | English

kukuqi666.github.io

基于 jekyll 的响应式 Github Pages 个人博客网站

license Gitter Website GitHub deployments GitHub top language

GitHub stars GitHub forks GitHub followers Github issues Github pull request

GitHub last commit GitHub commit activity GitHub repo size

特性

  • 适配移动端与桌面端展示效果 | 预览
  • 个性化自动展示 GitHub 项目 | 预览
  • 文章按类别与标签归档展示 | 预览
  • 支持搜索框,按关键词搜索全站文章 | 预览
  • 文章评论与留言板功能 | 预览
  • 生动的 “关于” 页面 | 预览

使用

详细搭建教程:搭建 Github Pages 个人博客网站

jekyll 使用教程:https://www.jekyll.com.cn/

配置

配置文件是位于主目录的 _config.yml,关于配置的完整参数介绍和默认值等内容,请查阅官网文档:https://www.jekyll.com.cn/docs/configuration/

以下是我的网站配置示例,以供参考:

# 以下为自定义的全局变量,可以在 HTML 文件中引用,
# 比如代码:<h1>{{ site.title }}</h1> 
# 将会展示为设定的值,也可以自行添加其他自定义全局变量。
title: 酷酷琪的博客 # 网站的标题
description: > # 网站的描述,可能会出现在搜索引擎展示结果中
  基于 jekyll 的 Github Pages 个人博客网站,技术的学习、总结、分享与提升
url: "https://kukuqi666.github.io" # 网站地址
github_repo: kukuqi666/kukuqi666.github.io
github_profile: "https://github.com/kukuqi666" # GitHub 个人主页
user: "酷酷琪" # 用于侧栏展示的名字
user_email: "[email protected]" # 侧栏展示的联系方式
paginate: 5 # 主页展示的博客文章数量

# jekyll 相关配置
markdown: kramdown
plugins:
  - jekyll-feed
  - jekyll-paginate
  - jekyll-seo-tag
  - jekyll-sitemap
exclude:
  - Gemfile
  - Gemfile.lock
  - README.md
  - COPYING
  - vendor
sass:
  style: compressed
future: true
permalink: /:year/:month/:day/:title
theme: jekyll-theme-slate

配置开发环境

提交推送代码后,GitHub Pages页面(即博客网站主页)更新较慢,所以推荐搭建本地开发环境,以便调试。

详细教程请见:安装 jekyll

配置好依赖后在项目主目录运行:

bundle exec jekyll s

然后会提示浏览器打开 http://127.0.0.1:4000 预览网站,正常情况预览效果与 GitHub Pages 展示的一样,这样就可以在本地开发调试好了再推送到 GitHub。

用到的第三方库

参考

License

GPL v3

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.