mirror of
https://github.com/GamingShitposting/SalaMuseoGames
synced 2025-02-21 22:27:39 +01:00
Hopefully fix internal images
This commit is contained in:
parent
cee8c38b40
commit
eccc018f64
@ -1,6 +1,7 @@
|
||||
---
|
||||
layout: "author"
|
||||
photo: "{{ site.baseurl }}/assets/media/SonyCat-Portrait-CrtFilter-Pixelized.png"
|
||||
photo: "/assets/media/SonyCat-Portrait-CrtFilter-Pixelized.png"
|
||||
photo_source: "internal"
|
||||
name: "octobot"
|
||||
display_name: "octobot"
|
||||
position: "Totally A Bot"
|
||||
|
@ -3,7 +3,7 @@
|
||||
<section class="author">
|
||||
<div class="details">
|
||||
{% if author.photo %}
|
||||
<img class="img-rounded" src="{{ author.photo }}" alt="{{ author.display_name }}">
|
||||
<img class="img-rounded" src="{% if author.photo_source == 'internal' %}{{ site.baseurl }}{% endif %}{{ author.photo }}" alt="{{ author.display_name }}">
|
||||
{% else %}
|
||||
<img class="img-rounded" src="{{ site.baseurl }}/assets/img/user.jpg" alt="{{ author.display_name }}">
|
||||
{% endif %}
|
||||
|
@ -4,7 +4,7 @@ layout: page
|
||||
|
||||
<div class="staff">
|
||||
{% if page.photo %}
|
||||
<img class="img-rounded" src="{{ page.photo }}" alt="{{ author.display_name }}">
|
||||
<img class="img-rounded" src="{% if page.photo_source == 'internal' %}{{ site.baseurl }}{% endif %}{{ page.photo }}" alt="{{ author.display_name }}">
|
||||
{% else %}
|
||||
<img class="img-rounded" src="/assets/img/user.jpg" alt="{{ author.display_name }}">
|
||||
{% endif %}
|
||||
|
@ -53,19 +53,19 @@ layout: main
|
||||
<a class="cover" href="{{ post.url | prepend: site.baseurl }}">
|
||||
{% include loader.html %}
|
||||
{% if post.optimized_image %}
|
||||
<img src="/assets/img/placeholder.png" width="100%" data-url="{{ post.optimized_image }}" class="preload">
|
||||
<img src="{{ site.baseurl }}/assets/img/placeholder.png" width="100%" data-url="{{ post.optimized_image }}" class="preload">
|
||||
<noscript>
|
||||
<img src="{{ post.optimized_image }}" width="100%">
|
||||
</noscript>
|
||||
{% elsif post.image %}
|
||||
<img src="/assets/img/placeholder.png" width="100%" data-url="{{ post.image }}" class="preload">
|
||||
<img src="{{ site.baseurl }}/assets/img/placeholder.png" width="100%" data-url="{% if post.image_source == 'internal' %}{{ site.baseurl }}{% endif %}{{ post.image }}" class="preload">
|
||||
<noscript>
|
||||
<img src="{{ post.image }}" width="100%">
|
||||
<img src="{% if post.image_source == 'internal' %}{{ site.baseurl }}{% endif %}{{ post.image }}" width="100%">
|
||||
</noscript>
|
||||
{% else %}
|
||||
<img src="/assets/img/placeholder.png" width="100%" data-url="/assets/img/off.jpg" class="preload">
|
||||
<img src="{{ site.baseurl }}/assets/img/placeholder.png" width="100%" data-url="{{ site.baseurl }}/assets/img/off.jpg" class="preload">
|
||||
<noscript>
|
||||
<img src="/assets/img/off.jpg" width="100%">
|
||||
<img src="{{ site.baseurl }}/assets/img/off.jpg" width="100%">
|
||||
</noscript>
|
||||
{% endif %}
|
||||
{% include new-post-tag.html date=post.date %}
|
||||
|
@ -22,7 +22,7 @@
|
||||
<p class="post-subtitle">{{ page.subtitle }}</p>
|
||||
|
||||
{% if page.image and paginator.activated == nil %}
|
||||
<img src="{{ page.image }}" alt="Featured image" class="post-cover">
|
||||
<img src="{% if page.image_source == 'internal' %}{{ site.baseurl }}{% endif %}{{ page.image }}" alt="Featured image" class="post-cover">
|
||||
{% endif %}
|
||||
|
||||
{% include pagination-post.html progressBar=true %}
|
||||
@ -46,7 +46,7 @@
|
||||
{% if post.optimized_image %}
|
||||
<img src="{{ post.optimized_image }}">
|
||||
{% elsif post.image %}
|
||||
<img src="{{ post.image }}">
|
||||
<img src="{% if post.image_source == 'internal' %}{{ site.baseurl }}{% endif %}{{ post.image }}">
|
||||
{% else %}
|
||||
<img src="/assets/img/off.jpg">
|
||||
{% endif %}
|
||||
|
@ -3,7 +3,8 @@ layout: "post"
|
||||
title: "From Below"
|
||||
subtitle: "Unleash your strategic prowess in From Below, the NES homebrew game that redefines Tetris with a Kraken-themed twist!"
|
||||
description: "Dive into the depths of classic gaming with From Below, a NES homebrew title that transforms Tetris into an aquatic battle against the legendary Kraken. Defend your fortress by strategically hurling blocks at the ascending monster, clearing lines to momentarily push it back. Can you endure the night and uncover the mystery of your friend's disappearance?"
|
||||
image: "{{ site.baseurl }}/assets/media/games/from-below/DSC_0919.png"
|
||||
image: "/assets/media/games/from-below/DSC_0919.png"
|
||||
image_source: "internal"
|
||||
category: "games"
|
||||
tags:
|
||||
- "nes"
|
||||
|
Loading…
x
Reference in New Issue
Block a user