Giter Club home page Giter Club logo

harttle.github.io's Introduction

HarttleLand 博客主题

本仓库是 Harttle Land 的源码,欢迎 Clone 和 Fork。

功能

  • 代码高亮
  • Markdown 支持 LaTex 公式
  • 基于 Github Issue 的评论
  • 自动生成页内导航

授权

本仓库提供的主题和内容使用 CC-BY 4.0 进行许可, 你可以自由地使用(包括商业用途)、修改、重新发布本仓库的代码和文章,只要在合适的地方保留来源或作者。

对于套用主题的情况,需要标明 Harttle Land 网站地址或本仓库地址,例如:

Theme by <a href="https://harttle.land">Harttle Land</a>.

对于转载文章的情况,需要给出原文链接,例如:

原文链接:<a href="https://harttle.land/2016/08/08/vim-search-in-file.html">Vim 中搜索和替换</a>

使用

前置依赖:在使用本主题之前,需要安装 Node.js, Ruby,以及 Bundle。

克隆并安装依赖

git clone [email protected]:harttle/harttle.github.io.git
bundle install

更改配置,尤其是移除 ga(Google Analytics)和 disqus(Disqus 评论),或替换为你自己的账号。

vim _config.yml

执行 npm start 启动,即可访问: http:/localhost:4000

harttle.github.io's People

Contributors

dependabot[bot] avatar harttle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

harttle.github.io's Issues

2018/04/22/get-dom-layout

获取 DOM 元素的绝对位置 | Harttle Land

在操作页面滚动和动画时经常会获取 DOM 元素的绝对位置, 例如 本文 左侧的悬浮导航,当页面滚动到它以前会正常地渲染到文档流中, 当页面滚动超过了它的位置,就会始终悬浮在左侧。 本文会详述各种获取 DOM 元素绝对位置 的方法以及对应的兼容性。 关于如何获取 DOM 元素高度和滚动高度,请参考 视口的宽高与滚动高度 一文。

https://harttle.land/2018/04/22/get-dom-layout.html

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.