1 2 3 4 | cp minimalism/index.html $PATH_TO_DIRECTORY/layout/minimalism.j2 cp minimalism/css/styles.css $PATH_TO_DIRECTORY/content/media/css/ cp minimalism/images/* $PATH_TO_DIRECTORY/content/media/images/ |
1 2 3 4 5 6 7 8 9 10 11 | <head> <meta charset="UTF-8"> <title>Minimalism - Home</title> <link rel="icon" href="images/favicon.gif" type="image/x-icon"/> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"> </script> <![endif]--> <link rel="shortcut icon" href="images/favicon.gif" type="image/x-icon"/> <link rel="stylesheet" type="text/css" href="css/styles.css"/> </head> |
1 | <title>{{ resource.meta.title }}</title> |
1 2 3 4 5 | <link rel="icon" href="{{ media_url('images/favicon.gif') }}" type="image/x-icon"/> ... <link rel="shortcut icon" href="{{ media_url('images/favicon.gif') }}" type="image/x-icon"/> <link rel="stylesheet" href="{{ media_url('css/styles.css') }}" type="text/css"/> |
1 2 3 | <a class="photo_hover3" href="#"> <img src="{{ media_url('images/picture1.jpg') }}" width="240" height="214" alt="picture1"/></a> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | <!--start intro--> {% block intro %} <section id="intro"> <hgroup> <h1>"Simplicity is the ultimate sophistication" <span>- Leonardo da Vinci</span> </h1> <h2>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec molestie. Sed aliquam sem ut arcu. Phasellus sollicitudin. Vestibulum condimentum facilisis nulla. In hac habitasse platea dictumst. Nulla nonummy. Cras quis libero.</h2> </hgroup> </section> {% endblock intro %} |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | --- extends: minimalism.j2 title: Strange Case of Dr Jekyll and Mr Hyde description: Tribute to a Victorian classic -- {% block intro %} <section id="intro"> <hgroup> <h1><i>Strange Case of Dr Jekyll and Mr Hyde</i> <span> — R.L. Stevenson</span></h1> <h2>"I knew myself, at the first breath of this new life, to be more wicked, tenfold more wicked, sold a slave to my original evil; and the thought, in that moment, braced and delighted me like wine."</h2> </hgroup> </section> {% endblock intro %} {% block group1 %} <section class="group1"> <h3>The author</h3> <p><b>Robert Louis Balfour Stevenson</b> (13 November 1850 – 3 December 1894) was a Scottish novelist, poet, essayist and travel writer. His best known books include <i>Treasure Island</i>, <i>Kidnapped</i>, and <i>Strange Case of Dr Jekyll and Mr Hyde</i>.</p> <a class="photo_hover3" href="#"> <img src="//upload.wikimedia.org/wikipedia/commons/thumb/1/1b/ Robert_Louis_Stevenson_Knox_Series.jpg/ 220px-Robert_Louis_Stevenson_Knox_Series.jpg" width="220" height="329" alt="R.L. Stevenson"/></a> <a href="#"><span class="button">Read more</span></a> </section> {% endblock group1 %} |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | --- extends: minimalism.j2 title: Strange Case of Dr Jekyll and Mr Hyde description: Tribute to a Victorian classic --- {% block intro %} <section id="intro"> <hgroup> {% filter markdown -%} # *Strange Case of Dr Jekyll and Mr Hyde* ## "I knew myself, at the first breath of this new life, to be more wicked..." {%- endfilter %} </hgroup> </section> {% endblock intro %} {% block group1 %} <section class="group1"> {% filter markdown -%} ### The author **Robert Louis Balfour Stevenson** (13 November 1850 – 3 December 1894) was a Scottish novelist, poet, essayist and travel writer. His best-known books include *Treasure Island*, *Kidnapped*, and *Strange Case of Dr Jekyll and Mr Hyde* {%- endfilter %} <a class="photo_hover3" href="#"> <img src="//upload.wikimedia.org/wikipedia/commons/thumb/1/1b/ Robert_Louis_Stevenson_Knox_Series.jpg/ 220px-Robert_Louis_Stevenson_Knox_Series.jpg" width="220" height="329" alt="R.L. Stevenson"/> </a> <a href="#"><span class="button">Read more</span></a> </section> {% endblock group1 %} |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |