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

Includes optional what3words address of the workshop venue #838

Merged
merged 3 commits into from
Oct 2, 2024
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
8 changes: 8 additions & 0 deletions _extras/customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,14 @@ The header may optionally define the following:
this line. Note: this value must be given as a string in double
quotes, rather than as a number.

* `what3words` is the [what3words](https://what3words.com) address for the
workshop venue. What3words divides the world into 3x3m squares and assigns
each a unique address consisting of three words separated by dots, allowing
users to specify locations precisely. Depending on the venue, this can be
used to specify the location of e.g. the room or the building entrance.
Note: this value is given in the form 'one.two.three' with no leading
slashes and not as a URL.

### For online workshops

If the workshop is online, follow the same instructions as above with the
Expand Down
5 changes: 5 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ helper: ["helper one", "helper two"] # boxed, comma-separated list of helper
email: ["first@example.org","second@example.org"] # boxed, comma-separated list of contact email addresses for the host, lead instructor, or whoever else is handling questions, like ["marlyn.wescoff@example.org", "fran.bilas@example.org", "ruth.lichterman@example.org"]
collaborative_notes: # optional: URL for the workshop collaborative notes, e.g. an Etherpad or Google Docs document (e.g., https://pad.carpentries.org/2015-01-01-euphoria)
eventbrite: # optional: alphanumeric key for Eventbrite registration, e.g., "1234567890AB" (if Eventbrite is being used)
what3words: # optional: what3words (https://what3words.com) address of the workshop venue, without leading slashes e.g. "globe.lessening.computers"
---

{% comment %} See instructions in the comments below for how to edit specific sections of this workshop template. {% endcomment %}
Expand Down Expand Up @@ -174,6 +175,10 @@ address.
<a href="//www.openstreetmap.org/?mlat={{page.latitude}}&mlon={{page.longitude}}&zoom=16">OpenStreetMap</a>
or
<a href="//maps.google.com/maps?q={{page.latitude}},{{page.longitude}}">Google Maps</a>.
{% if page.what3words %}
What3Words location:
<a href="https://what3words.com/{{page.what3words}}">///{{page.what3words}}</a>.
{%endif %}
</p>
{% elsif online == "true_public" %}
<p id="where">
Expand Down