Skip to content

Commit 6907538

Browse files
committed
finishing up hotosm#23 and hotosm#24
1 parent b1f5294 commit 6907538

File tree

12 files changed

+113
-160
lines changed

12 files changed

+113
-160
lines changed

_config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ translations:
2626
a: "What is OpenStreetMap?"
2727
b: "What is LearnOSM?"
2828
c: "How can I get started to map?"
29-
d: "Do I need any gears to map?"
29+
d: "Do I need any special gear to map?"
3030
e: "Where can I find additional help?"
31+
contribute: "I want to contribute!"
3132
es:
3233
tagline: "Aprende OpenStreetMap Paso a Paso"
3334
tagtitle: "OpenStreetMap es un mapa a nivel de calle libre del mundo, creado por una comunidad cada vez mayor de mappers."

_includes/banner.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<a href='{{site.baseurl}}/{{page.lang}}/contribute' class='banner cell12 fillW'>
2+
<span>&#63490; Help us improve the guides!</span>
3+
</a>

_layouts/contribute.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
layout: default
3+
---
4+
<div class='cell12'>
5+
<div class='marginL marginR cell4 pad1 rounded doc contribute'>
6+
{{content}}
7+
</div>
8+
</div>

_layouts/default.html

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@
1717
</script>
1818
<script src="{{ site.baseurl }}/site.js"></script>
1919
</head>
20-
<body class='fillG'>
21-
<div class="cell12">
20+
<body>
21+
<div id='wrapper'>
22+
<div class="fillG cell12">
2223
<small class='language-switcher marginL cell10 cf'>
2324
<a lang='en'>English</a> |
2425
<a lang='jp'>Japanese</a> |
@@ -27,7 +28,7 @@
2728
<a lang='es'>Spanish</a>
2829
</small>
2930
</div>
30-
<div id='header' class='fillW cell12'>
31+
<div id='header' class='cell12'>
3132
<div class='marginL marginR cell5 pad0 cf'>
3233
<span><a href='{{site.baseurl}}/{{page.lang}}' class="logo logo-learn"></a></span>
3334
<span class='tagline'>{{site.translations.[page.lang].tagline}}</span>
@@ -45,9 +46,10 @@ <h4 class='cell3'>{{site.translations.[page.lang].ourguides}}</h4>
4546
</ul>
4647
</div>
4748
</div>
49+
<div id='content' class='cf'>
4850
{{ content }}
49-
<small id='footer' class='cell12'>
50-
<a class='logo hand' href="#"></a>
51+
</div>
52+
<small id='footer' class='fillG cell12'>
5153
<ul class='contact marginL marginR cell5 pad0 cf'>
5254
<li><a class='email' href="mailto:[email protected]">[email protected]</a></li>
5355
<li><a class='twitter' href="https://twitter.com/learnosm">@learnOSM</a></li>
@@ -62,5 +64,6 @@ <h4 class='cell3'>{{site.translations.[page.lang].ourguides}}</h4>
6264
<a class='logo logo-ausaid' href='http://www.ausaid.gov.au/' target='_blank'></a>
6365
</div>
6466
</small>
67+
</div>
6568
</body>
6669
</html>

_layouts/doc.html

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: default
33
---
4-
<div class='fillW cell12'>
4+
<div class='cell12'>
55
<div class='doc-nav marginL cell2 pad1 cf'>
66
<ul class='rounded'>
77

@@ -39,9 +39,16 @@ <h1>Overview</h1>
3939
<div class='training rounded'>
4040
<span>Are you a workshop organizer?</span>
4141
Check out the <a href='#'>training material</a> for {{page.title}} Guide.
42-
<div class='logo book'></div>
4342
</div>
4443
{% endif %}
44+
{% unless {{page.cover}} %}
45+
<div class='feedback rounded'>
46+
<span>Was this chapter helpful?</span>
47+
Missing information or got feedback?
48+
<a href='mailto:[email protected]'>Let us know</a> or
49+
<a href='{{site.baseurl}}/{{page.lang}}/contribute'>help us improve the guides</a>
50+
</div>
51+
{% endunless %}
4552
</div>
4653
</div>
4754

_layouts/front.html

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: default
33
---
4-
<div id='moo' class='fillW cell12'>
4+
<div id='moo' class='cell12'>
55
<div id='divider' class='marginL cell9 pad1'>
66
<div class='cell4'>
77
<a class='moo1' href='{{site.baseurl}}/{{page.lang}}/beginner'>
@@ -23,14 +23,14 @@
2323
</div>
2424
</div>
2525
</div>
26-
<div id='front-text' class='fillW cell12'>
26+
<div id='front-text' class='cell12'>
2727
<div class='marginL cell9 pad1'>
2828
<form class='searchbox rounded'>
2929
<input id='search-field' type='text' name='search' class='cell8'></input>
3030
<input type='submit' name='submit' value='search' class='rounded'></input>
3131
</form>
3232
</div>
33-
<div class='mainintro marginL marginR cell5 pad1'>
33+
<div class='marginL marginR cell5 pad1'>
3434
<h4 class='tagtitle'>{{ site.translations.[page.lang].tagtitle }}</h4>
3535
<p class='tagwords'>{{ site.translations.[page.lang].tagintro }}</p>
3636
</div>
@@ -44,27 +44,7 @@ <h4>Common questions</h4>
4444
<li><a href='#'>{{site.translations.[page.lang].faqs.e}}</a></li>
4545
</div>
4646
</div>
47-
<!-- <script>
48-
$(function() {
49-
var data = [
50-
{ label: "anders", category: "" },
51-
{ label: "andreas", category: "" },
52-
{ label: "antal", category: "" },
53-
{ label: "annhhx10", category: "Products" },
54-
{ label: "annk K12", category: "Products" },
55-
{ label: "annttop C13", category: "Products" },
56-
{ label: "anders andersson", category: "People" },
57-
{ label: "andreas andersson", category: "People" },
58-
{ label: "andreas johnson", category: "People" }
59-
];
60-
61-
$( "#search-field" ).catcomplete({
62-
delay: 0,
63-
source: data
64-
});
65-
});
66-
</script> -->
67-
47+
{% include banner.html %}
6848
<script>
6949
// using widget factory
7050
$.widget( "custom.addChapterSection", $.ui.autocomplete, {

_posts/en/0100-01-01-contribute.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
layout: contribute
3+
permalink: /en/contribute
4+
lang: en
5+
title: Contribute
6+
---
7+
Help us improve the guides!
8+
===========================
9+
10+
<h4>This guide is created and maintained by the <a href='http://www.openstreetmap.org/' target='_blank'>OpenStreetMap</a> and <a href='http://hot.openstreetmap.org/' target='_blank'>Humanitarian OpenStreetMap</a> community. You can help us improve this guide by simply sending your feedback to or by contributing directly to it via <a href='http://github.com/hotosm/learnosm' target='_blank'>GitHub</a>.</h4>
11+
12+
Here are a couple of places where you can get started:
13+
14+
- [Create a translation]()
15+
- [Improve language]()
16+
- [Fork and improve site](http://github.com/hotosm/learnosm)

_posts/en/beginner/0200-11-25-hierarchy-reference.md

Lines changed: 0 additions & 34 deletions
This file was deleted.

en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"label":"Adding Your First Points",
44
"section":"",
55
"chapter":"beginner",
6-
"url":"adding-your-first-points"
6+
"url":"en/beginner/walking-papers/adding-your-first-points"
77
},
88
{
99
"label":"Add Bing Imagery",

images/sprite.png

-10.1 KB
Loading

0 commit comments

Comments
 (0)