Skip to content

Commit

Permalink
Cielo azul
Browse files Browse the repository at this point in the history
  • Loading branch information
javierarce committed Sep 19, 2023
1 parent ce4cb4b commit f680235
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.

version: 6.0.6
version: 6.0.7
title: "Javier's computer"
description: "My computer on the net"
baseurl: ""
Expand Down
4 changes: 1 addition & 3 deletions _includes/types/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{% if post.show_title -%}
<div class="Post__title">{{ post.title }}</div>
{% endif -%}
<div class="Post__content">
<div class="Post__content{% if post.extraClassName %} {{ post.extraClassName }}{% endif %}">
{% if post.content contains "<!-- more -->" -%}
{{ post.content | split:"<!-- more -->" | first }}
<div class="Post__more">
Expand All @@ -17,12 +17,10 @@
<div class="Post__footer">
<a href="{{ post.url }}" class="Post__date">{{ post.date | date: '%B %d, %Y' }}</a>

<!-- Check if post contains locations -->
{% if post.locations %}
&middot;
<a href="/maps/{{ post.locations[0].location }}" class="Post__location-link">{{ matching_location.title }}</a>
{% endif %}
<!-- End check -->

</div>
</div>
2 changes: 1 addition & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{% include navigation.html -%}

<div class="Post">
<div class="Post__content">
<div class="Post__content{% if page.extraClassName %} {{ page.extraClassName }}{% endif %}">
{{ content }}
</div>

Expand Down
5 changes: 5 additions & 0 deletions _sass/Post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@
border-radius: 2px;
}

.Post .Post__content.invites p img {
max-width: 400px;
margin: 0;
}

@media all and (max-width: 1024px) {
.Diary .Post,
.Post {
Expand Down
9 changes: 9 additions & 0 deletions content/_posts/2023-09-19-cielo-azul.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
layout: post
title: "Cielo Azul"
date: "2023-09-19 19:01:09 +0200"
extraClassName: invites
---

![Invitaciones](/img/tickets.svg "Invitaciones para Bluesky, si no puedes ver la imagen escríbeme y te la envío")

1 change: 1 addition & 0 deletions css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -370,3 +370,4 @@ a.is-photo::after {
align-items: start;
}
}

3 changes: 3 additions & 0 deletions img/tickets.svg
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 f680235

Please sign in to comment.