forked from django/djangoproject.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhomepage.html
213 lines (184 loc) · 8.83 KB
/
homepage.html
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
{% extends "base_3col.html" %}
{% load fundraising_extras i18n weblog %}
{% block sectionid %}homepage{% endblock %}
{% block body_class %}homepage{% endblock %}
{% block layout_class %}column-container sidebar-right{% endblock %}
{% block header %}
<h1 class="visuallyhidden">Django</h1>
<p>
<em>{% translate "Django makes it easier to build better web apps more quickly and with less code." %}</em>
</p>
<p>
<a href="{% url 'start' %}" class="cta">{% translate "Get started with Django" %}</a>
</p>
{% endblock %}
{% block content %}
<div class="section">
<h1>{% translate "Meet Django" %}</h1>
<p>
{% blocktranslate trimmed %}
Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design.
Built by experienced developers, it takes care of much of the hassle of web development, so you can focus
on writing your app without needing to reinvent the wheel. It’s free and open source.
{% endblocktranslate %}
</p>
<dl class="list-features">
<dt><i class="icon icon-bolt"></i> {% translate "Ridiculously fast." %}</dt>
<dd>
<p>{% translate "Django was designed to help developers take applications from concept to completion as quickly as possible." %}</p>
</dd>
<dt><i class="icon icon-lock"></i> {% translate "Reassuringly secure." %}</dt>
<dd>
<p>{% translate "Django takes security seriously and helps developers avoid many common security mistakes." %}</p>
</dd>
<dt><i class="icon icon-dashboard"></i> {% translate "Exceedingly scalable." %}</dt>
<dd>
<p>{% translate "Some of the busiest sites on the web leverage Django’s ability to quickly and flexibly scale." %}</p>
</dd>
</dl>
<a href="{% url 'overview' %}" class="cta outline">{% translate "Learn more about Django" %}</a>
</div>
<div class="section">
<h2>{% translate "Join the Community" %}</h2>
<div class="community-cta-wrapper">
<a href="https://forum.djangoproject.com/" class="community-cta-a">
<div class="community-cta">
<div>
{% include "svg_logos/forum.html" %}
</div>
<h3>{% translate "Forum - Post a question" %}</h3>
</div>
</a>
<a href="https://discord.gg/xcRH6mN4fa" class="community-cta-a">
<div class="community-cta">
<div>
{% include "svg_logos/discord.html" %}
</div>
<h3>{% translate "Discord - Chat with us" %}</h3>
</div>
</a>
</div>
</div>
{% comment %}
<div class="section">
<h1>Who is Django for?</h1>
<p>
You’ve probably used a site that uses Django. Find out why Django was the right solution for these organizations, and why you should start building your project with Django today.
</p>
<ul class="list-case-study">
<li>
<h3 class="logo" title="Mozilla">Mozilla</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.</p>
<a href="{% url 'case_study' %}">Read Case Study</a>
</li>
<li>
<h3 class="logo" title="Disqus">Disqus</h3>
<p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<a href="{% url 'case_study' %}">Read Case Study</a>
</li>
<li>
<h3 class="logo" title="Knight Foundation">Knight Foundation</h3>
<p>When the Knight Foundation began redesigning their <a href="https://www.knightfoundation.org">site</a>, they were on multiple content management systems they’d outgrown, with a site that couldn’t handle traffic spikes. Knight needed a future-proof solution.</p>
<a href="{% url 'case_study' %}">Read Case Study</a>
</li>
</ul>
<a href="{% url 'case_study_index' %}" class="cta outline">See all case studies</a>
</div>
{% endcomment %}
<!-- END #content-secondary -->
{% endblock %}
{% block content-related %}
<div role="complementary">
<a href="{% url 'download' %}" class="cta">
{% blocktranslate trimmed %}
Download <em>latest release: {{ DJANGO_VERSION }}</em>
{% endblocktranslate %}
</a>
<a href="{% block doc_url %}{% url 'homepage' host 'docs' %}{% endblock %}" class="link-readmore">{% translate "Django documentation" %}</a>
{% donation_snippet %}
<h3>{% translate "Latest news" %}</h3>
{% render_latest_blog_entries 2 hide_readmore=True summary_first=True header_tag='h4' %}
<a href="{% url 'weblog:index' %}" class="link-readmore">{% translate "More news" %}</a>
<h3>{% translate "New to Django?" %}</h3>
<ul class="list-links-small docs-list">
<li><a href="{% url 'document-detail' lang='en' version='stable' url='intro/install' host 'docs' %}">{% translate "Installation guide" %}</a></li>
<li><a href="{% url 'document-detail' lang='en' version='stable' url='intro/tutorial01' host 'docs' %}">{% translate "Write your first Django app" %}</a></li>
</ul>
<a href="{% url 'start' %}" class="link-readmore">{% translate "Getting started with Django" %}</a>
<h3>{% translate "The power of Django" %}</h3>
<ul class="list-links-small docs-list">
<li><a href="{% url 'document-detail' lang='en' version='stable' url='topics/db/models' host 'docs' %}">{% translate "Object-relational mapper" %}</a></li>
<li><a href="{% url 'document-detail' lang='en' version='stable' url='intro/tutorial02' host 'docs' %}">{% translate "Automatic admin interface" %}</a></li>
<li><a href="{% url 'document-detail' lang='en' version='stable' url='topics/templates' host 'docs' %}">{% translate "Robust template system" %}</a></li>
<li><a href="{% url 'document-detail' lang='en' version='stable' url='topics/i18n' host 'docs' %}">{% translate "Quick internationalization" %}</a></li>
</ul>
<a href="{% url 'overview' %}" class="link-readmore">{% translate "Explore more features" %}</a>
<h3>{% translate "Get involved" %}</h3>
<dl class="list-links-small">
<dt><a href="https://code.djangoproject.com/">{% translate "Ticket system" %}</a></dt>
<dd>
{% translate "Report bugs and make feature requests" %}
</dd>
<dt><a href="https://dashboard.djangoproject.com/">{% translate "Development dashboard" %}</a></dt>
<dd>
{% translate "see what's currently being worked on" %}
</dd>
</dl>
<a href="{% url 'community-index' %}" class="link-readmore">{% translate "Inside the Django community" %}</a>
<h3>{% translate "Get Help" %}</h3>
<dl class="list-links-small">
<dt><a href="https://discord.gg/xcRH6mN4fa" target="_blank">{% translate "Django Discord Server" %}</a></dt>
<dd>
{% translate "Join the Django Discord Community" %}
</dd>
<dt><a href="https://forum.djangoproject.com/" target="_blank">{% translate "Official Django Forum" %}</a></dt>
<dd>
{% translate "Join the community on the Django Forum." %}
</dd>
</dl>
<h3>{% translate "The Django Software Foundation" %}</h3>
<dl class="list-links-small">
<dt><a href="/foundation/">{% translate "About the Foundation" %}</a></dt>
<dd>
{% translate "Our non-profit supports the project" %}
</dd>
<dt><a href="/foundation/donate/">{% translate "Support Django" %}</a></dt>
<dd>
{% translate "Your contribution makes Django stronger" %}
</dd>
<dt><a href="/contact/foundation/">{% translate "Contact the Django Software Foundation" %}</a></dt>
<dd></dd>
</dl>
<a href="/foundation/" class="link-readmore">{% translate "More about the DSF" %}</a>
{% comment %}
<h3>Upcoming Events</h3>
<dl class="list-links-small news-list">
<dt class="event"><a href="#">DjangoCon 2013 Call for Papers</a></dt>
<dd>
April 7th, 2013 | Berlin, Germany
</dd>
<dt class="event"><a href="#">DjangoCon 2013 Call for Papers</a></dt>
<dd>April 7th, 2013 | Berlin, Germany</dd>
</dl>
<a href="{% url 'weblog:index' %}" class="link-readmore">See all Events</a>
{% endcomment %}
</div>
{% endblock %}
{% block alert %}
{% comment %}
<div role="alert">
<div class="container">
<dl>
<dt>
<i class="icon icon-bullhorn"></i>
<a href="#">Django Fundraising Drive 2014</a>
</dt>
<dd>
The quickest & most fun way to support Django.
<a href="#" class="link-readmore">Learn more</a>
</dd>
</dl>
</div>
</div>
{% endcomment %}
{% endblock %}