Skip to content

Commit

Permalink
Move news to the top of home page
Browse files Browse the repository at this point in the history
And some tweaks to the text.
  • Loading branch information
leouieda committed Sep 12, 2024
1 parent cadb9ea commit 3b45bfa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
6 changes: 3 additions & 3 deletions _templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
{%- import "macros.html" as macros %}

{%- block content %}
{{ page.body }}
<h2>News from the lab</h2>
<p>
The latest news and updates from CompGeoLab members.
</p>
<ul class="flow fa-ul">
{%- for item in (site["news/index"]["siblings"]|sort(attribute="date", reverse=True)|list)[:4] %}
{%- for item in (site["news/index"]["siblings"]|sort(attribute="date", reverse=True)|list)[:2] %}
<li>
<i class="fa-li far fa-arrow-alt-circle-right fa-fw" aria-hidden="true"></i>
<a class="text-bold" href="{{ item.path|relative_to(page.path) }}">{{ item.title }}</a>
Expand All @@ -19,8 +18,9 @@ <h2>News from the lab</h2>
{%- endfor %}
</ul>
<p>
Older news items: {{ macros.page_link("news/index", page, site) }}
Older news items can be found in: {{ macros.page_link("news/index", page, site) }}.
</p>
{{ page.body }}
{%- endblock %}


10 changes: 7 additions & 3 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ Inverse problems are the means by which geoscientists **image the inside** of
the Earth and other planets.
For example, we are able to determine the inner density distribution of the
Earth from measured disturbances in the Earth's gravity field.
We are also champions of **open science** and all of our research and teaching
efforts are symbiotic with the development of **open source software**.
We are also champions of **open science** and **reproducible research**.
All of our teaching and research efforts are symbiotic with the development of
**open source software** for geoscience.

{{ macros.figure("images/research-highlights.jpg", caption="Example research outputs. <strong>Top left:</strong> automatic detection of anomalies in magnetic microscopy data. <strong>Top right:</strong> compilation of airborne magnetic data for Antarctica. <strong>Bottom left:</strong> a tesseroid (spherical prism) discretized with our adaptive algorithm for gravity modeling. <strong>Bottom right:</strong> estimated Moho depth for South America from gravity data (left) and the misfit with seismological estimates (right).", alt="Figure with four panels. Top left is a map showing red and blue blobs and black squares surrounding each one. Top right is a map of Antarctica with red and blue points overlaid covering a large portion of the continent. Bottom left is a spherical 8-sided prism on top of the globe with white lines showing how it's broken up irregularly. Bottom right are two maps of South America, one colored green to yellow representing the Moho depth, larger around the Andes and smaller in towards the Atlantic coast, the other has scattered colored dots showing larger differences in the Andes and smaller elsewhere." ) }}

Expand All @@ -58,6 +59,9 @@ across the larger scientific ecosystem:
Tesseroids supports models and computation grids in Cartesian and spherical
coordinates.

We also **publish all of the code and data** needed to reproduce our projects
on [our <i class="fab fa-github" aria-hidden="true"></i> GitHub organization][github].

[usp]: https://www.iag.usp.br/
[fatiando]: https://www.fatiando.org/
[xlandsat]: https://www.compgeolab.org/xlandsat
Expand All @@ -66,4 +70,4 @@ across the larger scientific ecosystem:
[gmt]: https://www.generic-mapping-tools.org/
[pygmt]: https://www.pygmt.org
[tesseroids]: https://tesseroids.leouieda.com/

[github]: https://github.com/compgeolab

0 comments on commit 3b45bfa

Please sign in to comment.