十分钟搭建个人网站:Jekyll主题BoHu_html/css_WEB-ITnose
最近花了三天时间制作了我的第一个jekyll theme——BoHu。一款知乎风格的模板,使用jekyll模板引擎,十分钟就能搭建属于你自己的静态博客网站。
本主题的特征为:
- 知乎风格
- 分页导航使用的是具体页码而不是单纯的上一页下一页
- 支持博文搜索功能
- 支持文章分类和显示近期文章
- 首页能统计博文数量
- 内置中文和英文的艺术字体
- 内置音乐播放器
- 支持多说和disqus评论系统
- 移动设备浏览效果良好
- 使用MIT许可
具体步骤如下:
- 首先,你需要有GitHub帐号。
- 到我的GitHub上的bohu-jekyll-theme仓库中fork本主题。
- 在bohu-jekyll-theme目录下找到_config.yml配置文件并打开。修改个人配置信息。
- 将修改完成的网站目录上传至自己的GitHub仓库生成自己的博客网站。
- 以后只要把你的博文放在_post文件夹下并上传至GitHub,网站就会自动更新内容啦。
必填信息:
title: 博客的名字
author: 博主的名字
baseurl: 博客的根地址==你的文件夹名称(默认为bohu-jekyll-theme),如果你更改了文件夹名称,请把此处也修改掉。
description: head中的网页描述信息。简要描述你的网站,让搜索引擎能更好的收录你的网站。
选填信息:
email: 你的邮箱地址
twitter_username: 你的推特用户名
weibo_username: 你的微博用户名
github_username: 你的github用户名
以上四项信息你填写了之后博主信息栏里会自动出现相应的链接图标,不填就不会出现。
disqus_shortname: 你的disqus帐号
duoshuo——shortname: 你的多说帐号
以上两项可以不填,选填任意一项会自动加载相应的评论插件。
url: 如果你有自己的个人网站就填写你自己的网站地址,如果没有,就填写http://你的github名字.github.io/主题文件夹根目录名字/home,将会指向一个内置的个人主页。
使用内置的个人主页之后你需要配置一下个人信息: place,domain,company,position,school,major,resume
性别图标修改方法:打开home文件夹下的index.html,搜索类名fa-mars,将其改成fa-venus即可。
paginate: 填写一个数值,决定分页导航每一页显示的博文数量,达到这个数值会自动分页。
profile: 你的座右铭
其他修改项目:
本主题的后续维护和更新内容请关注GitHub项目主页bohu-jekyll-theme。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



The article discusses the HTML <progress> element, its purpose, styling, and differences from the <meter> element. The main focus is on using <progress> for task completion and <meter> for stati

The article discusses the HTML <datalist> element, which enhances forms by providing autocomplete suggestions, improving user experience and reducing errors.Character count: 159

The article discusses the HTML <meter> element, used for displaying scalar or fractional values within a range, and its common applications in web development. It differentiates <meter> from <progress> and ex

The article discusses the viewport meta tag, essential for responsive web design on mobile devices. It explains how proper use ensures optimal content scaling and user interaction, while misuse can lead to design and accessibility issues.

HTML is suitable for beginners because it is simple and easy to learn and can quickly see results. 1) The learning curve of HTML is smooth and easy to get started. 2) Just master the basic tags to start creating web pages. 3) High flexibility and can be used in combination with CSS and JavaScript. 4) Rich learning resources and modern tools support the learning process.

The article discusses the <iframe> tag's purpose in embedding external content into webpages, its common uses, security risks, and alternatives like object tags and APIs.

HTML defines the web structure, CSS is responsible for style and layout, and JavaScript gives dynamic interaction. The three perform their duties in web development and jointly build a colorful website.

AnexampleofastartingtaginHTMLis,whichbeginsaparagraph.StartingtagsareessentialinHTMLastheyinitiateelements,definetheirtypes,andarecrucialforstructuringwebpagesandconstructingtheDOM.
