Skip to content

Commit

Permalink
Rename Information page to Travel (#37)
Browse files Browse the repository at this point in the history
Rename the Information page to Travel. Add link to the travel page in
the Information section in the home page.

Fixed #34
  • Loading branch information
santisoler authored Oct 23, 2023
1 parent 23ddc33 commit ac87c7d
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 4 deletions.
7 changes: 6 additions & 1 deletion content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ We are looking forward to welcoming the 3DEM community to Vancouver this year!
The 3DEM-7 Symposium will be held at the University of British Columbia from
November 13-15. This will be a great opportunity to share
new developments and applications in 3DEM, connect with the community,
and enjoy Vancouver. You can
and [enjoy Vancouver](/travel). You can
[register here](https://3dem7.wildapricot.org/event-5372783/Registration).
"""

Expand Down Expand Up @@ -85,4 +85,9 @@ Please reach out to [[email protected]](mailto:[email protected]) and
[[email protected]](mailto:[email protected]) if you are interested in
sponsoring 3DEM-7.
"""

more_info = """
Find more about [accommodation](/travel#accommodation) and [travel
details](/travel).
"""
+++
2 changes: 1 addition & 1 deletion content/information.md → content/travel.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
+++
title = "Information"
title = "Travel"
template = "page.html"
extra.show_toc = true
+++
Expand Down
16 changes: 16 additions & 0 deletions sass/style.sass
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,29 @@ main.home
background-color: $blue
color: $white

a
color: $white
font-weight: 500
text-decoration: underline

a:hover
opacity: 0.7

.margin-top
margin-top: 6rem

.padding-top-bottom
padding-top: 4rem
padding-bottom: 4rem

#information
h3
padding-bottom: 0
margin-bottom: 0.2em
p
font-family: 'Montserrat', sans-serif


a
text-decoration: none

Expand Down
8 changes: 6 additions & 2 deletions templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -184,20 +184,24 @@ <h2>Information</h2>
<div class="d-flex h-100 flex-column justify-content-evenly row-gap-4">
<div>
<h3><i class="fa-solid fa-calendar"></i> When?</h3>
<p class="montserrat">
<p>
{{ config.extra.when.from | date(format="%B %e") }}
to
{{ config.extra.when.to | date(format="%e, %Y") }}
</p>
</div>
<div>
<h3><i class="fa-solid fa-location-dot"></i> Where?</h3>
<p class="montserrat">
<p>
{% for line in config.extra.where %}
{{ line }}<br>
{% endfor %}
</p>
</div>
<div>
<h3><i class="fa-solid fa-circle-info"></i> More information</h3>
{{ section.extra.more_info | markdown | safe }}
</div>
</div>
</div>
<div class="col-lg-7">
Expand Down

0 comments on commit ac87c7d

Please sign in to comment.