This repository has been archived by the owner on Jan 15, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fe1d84e
commit 051dc86
Showing
8 changed files
with
109 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
armstrong/cli/templates/demo/templates/armstrong/includes/welcome.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<h2>Everything Worked!</h2> | ||
|
||
<p> | ||
Welcome to your new <a href="http://armstrongcms.org/">Armstrong</a> | ||
powered website. Thank you for checking out Armstrong. | ||
</p> | ||
|
||
<p> | ||
This placeholder content is being displayed in place of real content | ||
because the appropriate data was not found inside your configured | ||
database. There are two ways you could fix this: | ||
</p> | ||
|
||
<ol> | ||
<li> | ||
Log in to the <a href="{% url admin:index %}">admin</a> and create some | ||
new content. | ||
</li> | ||
|
||
<li> | ||
Run <code>armstrong load_demo_data</code> inside your project | ||
which will scrape the last 10 days worth of content from | ||
<a href="http://en.wikinews.org/wiki">WikiNews</a>. | ||
</li> | ||
</ol> | ||
|
||
<p> | ||
We recommend the latter option if you're just starting out with | ||
Armstrong and would like to kick the tires. | ||
</p> | ||
|
||
|
||
{% comment %} | ||
TODO: Add Where to next? section | ||
TODO: Add link to "Getting Started for Developers" once complete | ||
TODO: Add link to "Getting Started for Journalists" once complete | ||
{% endcomment %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,25 @@ | ||
{% comment %} | ||
This is based on Skeleton (getskeleton.com) | ||
{% endcomment %} | ||
<!DOCTYPE html> | ||
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]--> | ||
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]--> | ||
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]--> | ||
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]--> | ||
<head> | ||
<head> | ||
|
||
<!-- Basic Page Needs | ||
================================================== --> | ||
<meta charset="utf-8"> | ||
<title>Your Armstrong Project</title> | ||
<meta name="description" content=""> | ||
<meta name="author" content=""> | ||
<!--[if lt IE 9]> | ||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> | ||
<![endif]--> | ||
|
||
<!-- Mobile Specific Metas | ||
================================================== --> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | ||
|
||
<!-- CSS | ||
================================================== --> | ||
<link rel="stylesheet" href="{{ STATIC_URL }}css/base.css"> | ||
<link rel="stylesheet" href="{{ STATIC_URL }}css/skeleton.css"> | ||
<link rel="stylesheet" href="{{ STATIC_URL }}css/layout.css"> | ||
|
||
<!-- Favicons | ||
================================================== --> | ||
<link rel="shortcut icon" href="{{ STATIC_URL }}images/favicon.ico"> | ||
<link rel="apple-touch-icon" href="{{ STATIC_URL }}images/apple-touch-icon.png"> | ||
<link rel="apple-touch-icon" sizes="72x72" href="{{ STATIC_URL }}images/apple-touch-icon-72x72.png"> | ||
<link rel="apple-touch-icon" sizes="114x114" href="{{ STATIC_URL }}images/apple-touch-icon-114x114.png"> | ||
|
||
</head> | ||
|
||
<body> | ||
<div id="container"> | ||
|
||
<header class="sixteen columns"> | ||
<h1>Your Armstrong Project</h1> | ||
</header> | ||
|
||
<section class="sixteen column" role="main"> | ||
<h2>Everything Worked!</h2> | ||
<p> | ||
Thanks for checking out Armstrong! This is a static template | ||
that you can edit to fit your needs, or remove entirely if you | ||
want something else. | ||
</p> | ||
<p> | ||
Please check out | ||
<a href="http://github.com/armstrong/">our GitHub page</a> | ||
for more information on what to do next. | ||
</p> | ||
</section> | ||
|
||
<footer> | ||
</footer> | ||
</div> <!--! end of #container --> | ||
<!-- JavaScript at the bottom for fast page loading --> | ||
</body> | ||
</html> | ||
|
||
{% extends "base.html" %} | ||
{% load layout_helpers %} | ||
|
||
{% block content %} | ||
{% comment %} | ||
Note, this `if well` statement is only here to enable the | ||
welcome page for an Armstrong site that does not have any | ||
data in it. For production sites, this may be unnecessary. | ||
{% endcomment %} | ||
|
||
{% if well %} | ||
{% render_iter well.items|slice:":15" %} | ||
{% render_next "big" %} | ||
{% render_next "big" %} | ||
{% render_next "standard" %} | ||
{% render_next "standard" %} | ||
{% render_next "standard" %} | ||
<section id="the-rest"> | ||
{% render_remainder "half" %} | ||
</section> | ||
{% endrender_iter %} | ||
{% else %} | ||
{% include "armstrong/includes/welcome.html" %} | ||
{% endif %} | ||
{% endblock %} |
6 changes: 1 addition & 5 deletions
6
armstrong/cli/templates/demo/templates/layout/articles/article/half.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters