mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
No need for posts, not a blog
This commit is contained in:
parent
abdf7295b8
commit
39728a1357
@ -1,27 +0,0 @@
|
|||||||
---
|
|
||||||
layout: post
|
|
||||||
color: deep-purple
|
|
||||||
cover: "http://s3-ap-southeast-1.amazonaws.com/monster-machine/images/horssghonr-1436272011-Midas.jpg"
|
|
||||||
title: "Welcome to Jekyll!"
|
|
||||||
date: 2015-07-11 13:50:39
|
|
||||||
categories: jekyll update
|
|
||||||
---
|
|
||||||
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
|
|
||||||
|
|
||||||
To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.
|
|
||||||
|
|
||||||
Jekyll also offers powerful support for code snippets:
|
|
||||||
|
|
||||||
{% highlight ruby %}
|
|
||||||
def print_hi(name)
|
|
||||||
puts "Hi, #{name}"
|
|
||||||
end
|
|
||||||
print_hi('Tom')
|
|
||||||
#=> prints 'Hi, Tom' to STDOUT.
|
|
||||||
{% endhighlight %}
|
|
||||||
|
|
||||||
Check out the [Jekyll docs][jekyll] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll’s dedicated Help repository][jekyll-help].
|
|
||||||
|
|
||||||
[jekyll]: http://jekyllrb.com
|
|
||||||
[jekyll-gh]: https://github.com/jekyll/jekyll
|
|
||||||
[jekyll-help]: https://github.com/jekyll/jekyll-help
|
|
@ -1,53 +0,0 @@
|
|||||||
---
|
|
||||||
layout: post
|
|
||||||
color: purple
|
|
||||||
title: "Color Choices"
|
|
||||||
date: 2015-07-12 01:54:00
|
|
||||||
---
|
|
||||||
|
|
||||||
### Any of the following color values can be used as the value of `color` in the front matter of the blog post.
|
|
||||||
<div class="bg-grey">
|
|
||||||
<h2><a href="#">grey</a></h2>
|
|
||||||
</div>
|
|
||||||
<div class="bg-orange">
|
|
||||||
<h2><a href="#">orange</a></h2>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="bg-yellow">
|
|
||||||
<h2><a href="#">yellow</a></h2>
|
|
||||||
</div>
|
|
||||||
<div class="bg-amber">
|
|
||||||
<h2><a href="#">amber</a></h2>
|
|
||||||
</div>
|
|
||||||
<div class="bg-light-blue">
|
|
||||||
<h2><a href="#">light-blue</a></h2>
|
|
||||||
</div>
|
|
||||||
<div class="bg-lime">
|
|
||||||
<h2><a href="#">lime</a></h2>
|
|
||||||
</div>
|
|
||||||
<div class="bg-teal">
|
|
||||||
<h2><a href="#">teal</a></h2>
|
|
||||||
</div>
|
|
||||||
<div class="bg-black-87">
|
|
||||||
<h2><a href="#">black-87</a></h2>
|
|
||||||
</div>
|
|
||||||
<div class="bg-blue-grey">
|
|
||||||
<h2><a href="#">blue-grey</a></h2>
|
|
||||||
</div>
|
|
||||||
<div class="bg-brown">
|
|
||||||
<h2><a href="#">brown</a></h2>
|
|
||||||
</div>
|
|
||||||
<div class="bg-indigo">
|
|
||||||
<h2><a href="#">indigo</a></h2>
|
|
||||||
</div>
|
|
||||||
<div class="bg-purple">
|
|
||||||
<h2><a href="#">purple</a></h2>
|
|
||||||
</div>
|
|
||||||
<div class="bg-deep-purple">
|
|
||||||
<h2><a href="#">deep-purple</a></h2>
|
|
||||||
</div>
|
|
||||||
<div class="bg-red">
|
|
||||||
<h2><a href="#">red</a></h2>
|
|
||||||
</div><div class="bg-pink">
|
|
||||||
<h2><a href="#">pink</a></h2>
|
|
||||||
</div>
|
|
@ -1,124 +0,0 @@
|
|||||||
---
|
|
||||||
layout: post
|
|
||||||
color: deep-purple
|
|
||||||
title: "Demo Post"
|
|
||||||
date: 2015-07-12 01:55:00
|
|
||||||
---
|
|
||||||
|
|
||||||
<p><small>This demo page has been used from <a href="http://jasonm23.github.io/markdown-css-themes/" target="_blank">http://jasonm23.github.io/markdown-css-themes/</a>.</small></p>
|
|
||||||
|
|
||||||
<h1>A First Level Header</h1>
|
|
||||||
|
|
||||||
<h2>A Second Level Header</h2>
|
|
||||||
|
|
||||||
<h3>A Third Level Header</h3>
|
|
||||||
|
|
||||||
<h4>A Fourth Level Header</h4>
|
|
||||||
|
|
||||||
<h5>A Fifth Level Header</h5>
|
|
||||||
|
|
||||||
<h6>A Sixed Level Header</h6>
|
|
||||||
|
|
||||||
<p>Now is the time for all good men to come to
|
|
||||||
the aid of their country. This is just a
|
|
||||||
regular paragraph.</p>
|
|
||||||
|
|
||||||
<p>The quick brown fox jumped over the lazy
|
|
||||||
dog’s back.</p>
|
|
||||||
|
|
||||||
<hr />
|
|
||||||
|
|
||||||
<h3>Header 3</h3>
|
|
||||||
|
|
||||||
<blockquote><p>This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
|
|
||||||
consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
|
|
||||||
Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.</p>
|
|
||||||
|
|
||||||
<p>Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
|
|
||||||
id sem consectetuer libero luctus adipiscing.</p>
|
|
||||||
|
|
||||||
<h2>This is an H2 in a blockquote</h2>
|
|
||||||
|
|
||||||
<p>This is the first level of quoting.</p>
|
|
||||||
|
|
||||||
<blockquote><p>This is nested blockquote.</p></blockquote>
|
|
||||||
|
|
||||||
<p>Back to the first level.</p></blockquote>
|
|
||||||
|
|
||||||
<p>Some of these words <em>are emphasized</em>.
|
|
||||||
Some of these words <em>are emphasized also</em>.</p>
|
|
||||||
|
|
||||||
<p>Use two asterisks for <strong>strong emphasis</strong>.
|
|
||||||
Or, if you prefer, <strong>use two underscores instead</strong>.</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Candy.</li>
|
|
||||||
<li>Gum.</li>
|
|
||||||
<li>Booze.</li>
|
|
||||||
<li>Red</li>
|
|
||||||
<li>Green</li>
|
|
||||||
<li><p>Blue</p></li>
|
|
||||||
<li><p>A list item.</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
<p>With multiple paragraphs.</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li><p>Another item in the list.</p></li>
|
|
||||||
<li><p>This is a list item with two paragraphs. Lorem ipsum dolor
|
|
||||||
sit amet, consectetuer adipiscing elit. Aliquam hendrerit
|
|
||||||
mi posuere lectus.</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
<p>Vestibulum enim wisi, viverra nec, fringilla in, laoreet
|
|
||||||
vitae, risus. Donec sit amet nisl. Aliquam semper ipsum
|
|
||||||
sit amet velit.* Suspendisse id sem consectetuer libero luctus adipiscing.</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>This is a list item with two paragraphs.</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
<p>This is the second paragraph in the list item. You’re
|
|
||||||
only required to indent the first line. Lorem ipsum dolor
|
|
||||||
sit amet, consectetuer adipiscing elit.</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li><p>Another item in the same list.</p></li>
|
|
||||||
<li><p>A list item with a bit of <code>code</code> inline.</p></li>
|
|
||||||
<li><p>A list item with a blockquote:</p>
|
|
||||||
|
|
||||||
<blockquote><p>This is a blockquote
|
|
||||||
inside a list item.</p></blockquote></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
<p>Here is an example of a pre code block</p>
|
|
||||||
|
|
||||||
<pre><code>tell application "Foo"
|
|
||||||
beep
|
|
||||||
end tell
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<p>This is an <a href="#">example link</a>.</p>
|
|
||||||
|
|
||||||
<p>I start my morning with a cup of coffee and
|
|
||||||
<a href="http://www.nytimes.com/">The New York Times</a>.</p>
|
|
||||||
|
|
||||||
### Code snippet
|
|
||||||
|
|
||||||
{% highlight python %}
|
|
||||||
if __name__ =='__main__':
|
|
||||||
img_thread = threading.Thread(target=downloadWallpaper)
|
|
||||||
img_thread.start()
|
|
||||||
st = '\rDownloading Image'
|
|
||||||
current = 1
|
|
||||||
while img_thread.is_alive():
|
|
||||||
sys.stdout.write(st+'.'*((current)%5))
|
|
||||||
current=current+1
|
|
||||||
time.sleep(0.3)
|
|
||||||
img_thread.join()
|
|
||||||
print('\nImage of the day downloaded.')
|
|
||||||
{% endhighlight %}
|
|
Loading…
Reference in New Issue
Block a user