Skip to content

Commit 92a8d47

Browse files
committed
Bring together what belongs together; rename layouts; minor improvements
1 parent 96f7c13 commit 92a8d47

11 files changed

+91
-74
lines changed

_data/index.yml

-38
This file was deleted.

_includes/screenshots.html

-17
This file was deleted.

_includes/sub_button_group.html

-6
This file was deleted.

_layouts/basic.html

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
layout: compress
3+
---
4+
<!DOCTYPE html>
5+
<html>
6+
7+
{% include head.html %}
8+
9+
<body>
10+
11+
{% include navigation.html %}
12+
13+
{{ content }}
14+
15+
{% include footer.html %}
16+
17+
</body>
18+
19+
</html>

_layouts/error.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: default
2+
layout: basic
33
---
44
<div class="container">
55
<div class="section">

_layouts/full.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: default
2+
layout: basic
33
---
44
<div class="container">
55
<div class="section">

_pages/board.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: full
2+
layout: default
33
title: Squeak Oversight Board
44
permalink: /board/
55
---

_pages/imprint.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: full
2+
layout: default
33
title: Imprint
44
permalink: /imprint/
55
business-name: the Squeak Project

_pages/license.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: full
2+
layout: default
33
title: License
44
permalink: /license/
55
---

_pages/terse_guide.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: full
2+
layout: default
33
title: "Terse Guide to Squeak"
44
permalink: /documentation/terse_guide/
55
---

index.html

+66-7
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,68 @@
11
---
2-
layout: default
2+
layout: basic
3+
headline: Welcome to Squeak<span class="hidden-xs">/Smalltalk</span>
4+
welcome: >
5+
Squeak is an open-source Smalltalk programming system with fast execution
6+
environments for all major platforms. It features the Morphic framework,
7+
which promotes low effort graphical, interactive application development and
8+
maintenance. Many projects have been successfully created with Squeak. They
9+
cover a wide range of domains such as education, multimedia, gaming, research,
10+
and commerce.
11+
12+
download_link: http://ftp.squeak.org/4.5/Squeak-4.5-All-in-One.zip
13+
download_more: /downloads/
14+
15+
sub_button_group:
16+
- title: News
17+
href: http://news.squeak.org/
18+
icon: newspaper-o
19+
20+
- title: Bugs
21+
href: http://bugs.squeak.org/view_all_bug_page.php
22+
icon: bug
23+
24+
- title: Donate
25+
href: "#"
26+
class: donate-button
27+
icon: heart
28+
29+
screenshots:
30+
- img-src: img/screenshots/writing.png
31+
caption: "Tools for browsing, searching, and writing Smalltalk code"
32+
33+
- img-src: img/screenshots/executing.png
34+
caption: "Run-time information in concurrent debugging sessions with direct code updates"
35+
36+
- img-src: img/screenshots/scripting.png
37+
caption: "Script, explore, and study almost everything in the environment"
38+
39+
- img-src: img/screenshots/versioning.png
40+
caption: "Automatic change tracking and distributed source code versioning tools"
341
---
442
<div class="container">
543
<div class="row">
644
<div class="col-md-6 col-lg-6">
745
<img id="squeak-logo" src="{{ basePath }}{{ site.staticurl }}img/balloon.svg" alt="" class="img-responsive img-center">
846
</div>
947
<div id="welcome-text" class="col-md-6 col-lg-6">
10-
<h2>{{ site.data.index.title }}</h2>
11-
<div>{{ site.data.index.welcome }}</div>
48+
<h2>{{ page.headline }}</h2>
49+
<div>{{ page.welcome }}</div>
1250
<div class="text-center">
13-
<a id="download-button" class="btn btn-primary" href="{{ site.data.index.download-link }}" target="_blank" role="button">
51+
<a id="download-button" class="btn btn-primary" href="{{ page.download_link }}" target="_blank" role="button">
1452
<i class="fa fa-windows fa-lg"></i>
1553
<i class="fa fa-apple fa-lg"></i>
1654
<i class="fa fa-linux fa-lg"></i>
1755
Download
1856
</a>
19-
<p><a href="{{ basePath }}{{ site.data.index.download-more }}">More...</a></p>
57+
<p><a href="{{ basePath }}{{ page.download_more }}">More...</a></p>
2058

2159
<div id="sub-button-group" class="btn-group btn-group-sm" role="group" aria-label="...">
22-
{% include sub_button_group.html %}
60+
{% for button in page.sub_button_group %}
61+
<a class="{% if button.class %}{{ button.class }} {% endif %}btn btn-default" href="{% if button.href %}{{ button.href }}{% else %}#{% endif %}" target="_blank" role="button">
62+
<i class="fa fa-{{ button.icon }}"></i>
63+
{{ button.title }}
64+
</a>
65+
{% endfor %}
2366
</div>
2467
</div>
2568
</div>
@@ -29,7 +72,23 @@ <h2>{{ site.data.index.title }}</h2>
2972
<div id="screnshot-wrapper">
3073
<div class="container">
3174
<div id="screenshots" class="row">
32-
{% include screenshots.html %}
75+
{% for screenshot in page.screenshots %}
76+
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 text-center slideshow-item" style="{{ currentStyle }}">
77+
<a href="#" class="screenshot-img">
78+
<img src="{{ screenshot.img-src }}" alt="" class="img-responsive img-center">
79+
</a>
80+
<p class="lead">
81+
{{ screenshot.caption }}
82+
<a href="#" class="screenshot-button pull-left" data-target="left">
83+
<i class="fa fa-chevron-left"></i>
84+
</a>
85+
<a href="#" class="screenshot-button pull-right" data-target="right">
86+
<i class="fa fa-chevron-right"></i>
87+
</a>
88+
</p>
89+
</div>
90+
{% assign currentStyle = "display: none" %}
91+
{% endfor %}
3392
</div>
3493
</div>
3594
</div>

0 commit comments

Comments
 (0)