Skip to content

Commit

Permalink
Fix issues with gallery + readd MTG + add figcaptions
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenwardy authored Jun 29, 2022
1 parent 77182d8 commit e949714
Show file tree
Hide file tree
Showing 15 changed files with 37 additions and 31 deletions.
8 changes: 0 additions & 8 deletions LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Screenshots from:
- RPG16 texture pack (Hugues Ross)
- Soothing32 (Zughy)
- i3 (Jean-Patrick Guerrero)
- Mineclone2 (Wuzzy)
- Steampunk Blimp (APercy)
- Animalia (ElCeejo)
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,16 @@ Internet Explorer isn't supported.
Copyright © 2015-2020 Hugo Locurcio and contributors

Unless otherwise specified, code is licensed under the MIT license.
Media and content are licensed under
Media (except gallery) and content are licensed under
[CC BY-SA 3.0 Unported](https://creativecommons.org/licenses/by-sa/3.0/).

Gallery screenshots are by various authors and depict various content

- 1: Minetest Game
- 2: Soothing32 (Zughy)
- 3: i3 (Jean-Patrick Guerrero)
- 4: Mineclone2 (Wuzzy)
- 5: Steampunk Blimp (APercy)
- 6: Animalia (ElCeejo)
- 7: RPG16 texture pack (Hugues Ross)
- 8: Minetest Game
18 changes: 12 additions & 6 deletions _data/gallery.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
- image: /media/gallery/1.jpg
title: A tranquil bay with grass and trees
title: A castle in Minetest Game, the default game

- image: /media/gallery/2.jpg
title: South pacific old growth forest
title: "[Soothing32](https://content.minetest.net/packages/Zughy/soothing32/) texture pack"

- image: /media/gallery/3.jpg
title: Castles in a large multiplayer server
title: "Customized inventory screen from the [i3](https://content.minetest.net/packages/jp/i3/) mod"

- image: /media/gallery/4.jpg
title: Sunset over an underwater forest
title: "[Mineclone2](https://content.minetest.net/packages/Wuzzy/mineclone2/) game"

- image: /media/gallery/5.jpg
title: Cave with a dungeon entrance
title: "[Steampunk Blimp](https://content.minetest.net/packages/apercy/steampunk_blimp/) mod for Minetest Game"

- image: /media/gallery/6.jpg
title: Underground cavern with flowing lava
title: "[Animalia](https://content.minetest.net/packages/ElCeejo/animalia/) mod"

- image: /media/gallery/7.jpg
title: "[RPG-16](https://content.minetest.net/packages/Hugues%20Ross/rpg16/) texture pack"

- image: /media/gallery/8.jpg
title: An underwater jungle in Minetest Game
3 changes: 2 additions & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ <h5 class="footer-title">Development</h5>
<div class="footer-copyright">
© 2015-{{ site.time | date: '%Y' }} The Minetest Team.
<a href="https://github.com/minetest/minetest.github.io">Source</a><br />
MIT for code, CC-BY-SA 3.0 for media and content.
MIT for code, CC-BY-SA 3.0 for content, media under
<a href="https://github.com/minetest/minetest.github.io/#license">various licenses</a>.
Font Awesome icons under <a href="https://fontawesome.com/license">CC-BY 4.0</a>.
</div>
</footer>
26 changes: 11 additions & 15 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,21 +80,17 @@ <h2 id="gallery" class="title section-title">Gallery</h2>
{% endcomment %}

{% for image in site.data.gallery %}
<div class="column is-6">
<div class="card">
<div class="card-image">
<figure class="image is-16by9">
<a href="{{ image.image | relative_url }}">
<img
style="background-color: #ccc"
src="{{ image.image | replace: ".", "-thumb." | relative_url }}"
alt="{{ image.title }}"
>
</a>
</figure>
</div>
</div>
</div>
<figure class="column is-half">
<a class="image is-16by9" href="{{ image.image | relative_url }}">
<img
style="background-color: #ccc"
src="{{ image.image | replace: ".", "-thumb." | relative_url }}"
alt="{{ image.title }}">
</a>
{% if image.title %}
<figcaption>{{ image.title | markdownify }}</figcaption>
{% endif %}
</figure>
{% endfor %}
</div>
</div>
Expand Down
Binary file modified media/gallery/1-thumb.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/gallery/1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/gallery/2-thumb.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/gallery/2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/gallery/4-thumb.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/gallery/4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/gallery/7-thumb.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/gallery/7.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/gallery/8-thumb.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/gallery/8.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e949714

Please sign in to comment.