#mzl9039 Blog
frok from https://huxpro.github.io v1.7.0
If you have jekyll installed, simply run jekyll serve
in Command Line
and preview the themes in your browser. You can use jekyll serve --watch
to watch for changes in the source files as well.
There is a increasing tendency to use Open Web technology to create keynotes, presentations, like Reveal.js, Impress.js, Slides, Prezi etc. I consider a modern blog should have abilities to post these HTML based presentation easily also abilities to play it directly.
Under the hood, a iframe
is used to include webpage from outer source, so the only things left is to give a url in the front-matter:
---
layout: keynote
iframe: "http://huangxuan.me/js-module-7day/"
---
The iframe will be automatically resized to adapt different form factors also the device orientation. A padding is left to imply user that there has more content below, also to ensure that there is a area for user to scroll down in mobile device seeing most of the keynote framework prevent the browser default scroll behavior.
# Google Analytics
ga_track_id: 'UA-49627206-1' # Format: UA-xxxxxx-xx
ga_domain: huangxuan.me
Just checkout the code offered by Google/Baidu, and copy paste here, all the rest is already done for you.
(Google might ask for meta tag "google-site-verification")
Apache License 2.0. Copyright (c) 2015-2016 Huxpro
Hux Blog is derived from Clean Blog Jekyll Theme (MIT License) Copyright (c) 2013-2016 Blackrock Digital LLC.