Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jekyll port #6

Merged
merged 20 commits into from
Nov 2, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
layout: default
---
<h2>404 - Sorry, we couldn't find this page!</h2>
153 changes: 0 additions & 153 deletions Makefile

This file was deleted.

3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Learn OSM

Experimental jekyll branch, serves to explore how we could use Jekyll + GitHub hosting for LearnOSM.org while keeping the translation workflow sane.
4 changes: 0 additions & 4 deletions README.rst

This file was deleted.

16 changes: 16 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
auto: true
pygments: true
server: true
markdown: rdiscount
permalink: /:categories/:title
columnist:
paths:
- _posts
baseurl: /learnosm
rdiscount:
extensions: [smart]
translations:
en:
tagline: "Learn OpenStreetMap Step-by-Step"
es:
tagline: "Aprende OpenStreetMap Paso a Paso"
Empty file added _includes/status/es.txt
Empty file.
36 changes: 36 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<!DOCTYPE html>
<html lang="{{page.lang}}">
<head>
<meta charset="utf-8">
<title>LearnOSM</title>
<link href="{{ site.baseurl }}/reset.css" rel="stylesheet" type="text/css">
<link href="{{ site.baseurl }}/style.css" rel="stylesheet" type="text/css">
<script src="{{ site.baseurl }}/vendor/jquery-1.8.2.min.js"></script>
<script>
window.app = window.app || {};
window.app.permalink = '{{page.permalink}}';
window.app.baseurl = '{{site.baseurl}}';
window.app.lang = '{{page.lang}}';
</script>
<script src="{{ site.baseurl }}/site.js"></script>
</head>
<body>
<div class='inner'>
<div class='language-switcher'>
<a lang='en'>English</a> |
<a lang='jp'>Japanese</a> |
<a lang='it'>Italian</a> |
<a lang='id'>Indonesian</a> |
<a lang='es'>Spanish</a>
</div>
<div id='header'>
<h1><a href='{{ site.baseurl }}/{{page.lang}}'>LearnOSM</a></h1>
<div class='tagline'>{{site.translations.[page.lang].tagline}} </div>
</div>
{{ content }}
<div id='footer'>
Official HOT OSM Learning Material | <a href='{{site.baseurl}}/en/status'>Translation status</a>
</div>
</div>
</body>
</html>
6 changes: 6 additions & 0 deletions _layouts/doc.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
layout: default
---
<div class='doc'>
{{content}}
</div>
13 changes: 13 additions & 0 deletions _layouts/front.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
layout: default
---
<h2>{{ page.translations.beginner }}</h2>
<ul class="docs">
{% for post in site.categories.['beginner'] %}
{% if {{post.lang}} == {{page.lang}} %}
<li class='doc'>
<div class='title'><a href="{{site.baseurl}}{{ post.url }}">➤ {{ post.title }}</a></div>
</li>
{% endif %}
{% endfor %}
</ul>
16 changes: 16 additions & 0 deletions _layouts/status.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
layout: default
permalink: /es/status
polylink: /status
---
<h2>{{ page.title }}</h2>
<div class="status-reports">
{% for post in site.categories.['status'] %}
{% if {{post.lang}} == {{page.lang}} %}
<div class='status'>
<a href='{{site.baseurl}}{{ post.subject }}'>{{site.baseurl}}{{ post.subject }}</a>
{{ post.content | markdownify }}
</div>
{% endif %}
{% endfor %}
</div>
7 changes: 7 additions & 0 deletions _posts/en/0100-01-01-index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
layout: front
permalink: /en
lang: en
translations:
beginner: "Beginners"
---
10 changes: 10 additions & 0 deletions _posts/en/0100-01-01-status.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
layout: default
permalink: /en/status
lang: en
title: Translation Status
---

## Translation Status - All Languages

- [Spanish]({{site.baseurl}}/es/status/)
85 changes: 85 additions & 0 deletions _posts/en/beginner/0200-11-30-moving-forward.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
---
layout: doc
title: Moving Forward
permalink: /en/beginner/moving-forward
lang: en
category: beginner
---

Moving Forward
==============

If you have made it this far, congratulations! You should have a good
understanding now of how to make maps with OpenStreetMap. What else can
you do with OSM? How can you learn more? How can you stay connected to
the community of mappers?

OpenStreetMap Tools
-------------------

In this guide we have learned the building blocks of OSM, and the tools
you need to contribute to the map. But because the data on OSM is open,
it has encouraged many more projects and tools that allow you to do more
with the OpenStreetMap map.

MapOSMatic
----------

One such project is called MapOSMatic, which you can access through your
internet browser at [maposmatic.org](http://www.maposmatic.org/). This
is a simple tool for printing a map of any area you choose. It will
automatically create the map, along with a grid over the map, and an
index of locations that are included in the area.

Learn More
----------

There is a lot of information about OpenStreetMap available at
[wiki.openstreetmap.org](http://wiki.openstreetmap.org/). Here you can
find information about other projects that are related to OpenStreetMap,
and documents and tutorials that can help you learn more about OSM.

Mailing List
------------

The best way to get connected to the OpenStreetMap user community is to
join your local mailing list. Many people sign up, using their email
accounts to the OSM mailing list. Once you are on the list, you can send
an email to the group if you have a question or want to talk about
OpenStreetMap.

- To sign up for your country's mailing list, open your internet
browser and go to
[lists.openstreetmap.org](http://lists.openstreetmap.org/).

- Scroll down the page to find the list associated with your country.
The country lists are named "Talk-lg", where lg represents the
country of that list. For example, "Talk-id" is the list for
Indonesia.
- Click on the list you want to join.
- Enter the following information in the boxes on this page:

- your email address
- your first name
- a new password
- repeat the password

- When you are finished, click Subscribe.
- Now you need to open your email, just as you did when you signed up
for OpenStreetMap in chapter 2. There will be a confirmation email
in your inbox from the mailing list.
- Click on the confirmation link, which looks like this:

- You should now be a member of the mailing list.
- Now when you want to send a message to the list, you can send it to
[talk-id@openstreetmap.org](mailto:talk-id@openstreetmap.org),
replacing "id" with the country for your list. You will also receive
emails when other members send a message to the list.

Summary
-------

These are some of the ways that you can use and stay connected with the
OpenStreetMap community and learn more. We hope you'll continue
exploring and learning more about OSM, and contribute to the project.
Happy Mapping!
Loading