dejavuzhou.github.io

command module
v0.0.0-...-f93c847 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2019 License: MIT Imports: 3 Imported by: 0

README

Build Status

博客系统和golang和Hacknews机器人

地址:tech.mojotv.cn

Feature

  • 每天自动翻译hacknews新闻
  • Google SEO 优化
  • 使用markdown语法写博客,写代码git push来提交博客

安装说明

  1. fork库到自己的github
  2. 修改名字为:username.github.io 或者 organizationName.github.io
  3. clone库到本地,参考_posts中的目录结构自己创建适合自己的文章目录结构
  4. 修改CNAME,或者删掉这个文件,使用默认域名
  5. 修改_config.yml配置项
  6. It's done!
  7. 定义自己google 统计 adsense _includes/header.html 第29~48行
  8. 自定义自己的评论系统 _layouts/post.html 第15行
  9. 站长管理平添校验代码 _includes/header.html 第14~20行

这个项目还包含了以个go语言的机器人来每天定时翻译hacknews新闻

需要redis数据库

需要服务器或者电脑才能运行,在Github 上是不能执行的

go语言代码同学们,你可以自己修改,或者删除

遇到的bug

{{ 于jekyll 的语法冲突

{{raw} {{endraw}}包裹冲突的代码

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
tutorials

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL