Skip to content

Commit 81b45e1

Browse files
authored
Merge pull request #143 from rubyuy/maint/fixes
SEO things
2 parents a4d5685 + 11389f2 commit 81b45e1

15 files changed

Lines changed: 106 additions & 70 deletions

404.html

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
1-
<!DOCTYPE html>
2-
<html>
3-
<head>
4-
<title>Ruby UY</title>
5-
<meta charset='utf-8' />
6-
<meta name="viewport" content="width=device-width, initial-scale=1">
7-
<meta name="view-transition" content="same-origin" />
8-
<style>
9-
html {
10-
background: url(404.png) no-repeat center center fixed;
11-
background-size: contain;
12-
}
13-
</style>
14-
</head>
15-
<body>
16-
</body>
17-
</html>
1+
---
2+
permalink: /404.html
3+
layout: default
4+
title: "Página no encontrada"
5+
description: "La página que buscás no existe. Volvé a Ruby UY para ver meetups, charlas y comunidad Ruby en Uruguay."
6+
keywords: "404 ruby uy, comunidad ruby uruguay, charlas ruby, meetups ruby"
7+
---
8+
9+
<article class="view">
10+
<section style="text-align:center; padding: 4rem 1rem;">
11+
<h1>404</h1>
12+
<p>La página que buscás no existe o fue movida.</p>
13+
<p>
14+
<a href="/">Inicio</a> ·
15+
<a href="/charlas/">Charlas</a> ·
16+
<a href="/community/">Community</a>
17+
</p>
18+
</section>
19+
</article>

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ group :jekyll_plugins do
1414
gem "jekyll-feed", "~> 0.12"
1515
gem "jekyll-optional-front-matter", "~> 0.3"
1616
gem "jekyll-relative-links", "~> 0.6"
17+
gem "jekyll-seo-tag", "~> 2.8"
1718
gem "jekyll-sitemap", "~> 1.4"
1819
end
1920

Gemfile.lock

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ GEM
4646
jekyll (>= 3.3, < 5.0)
4747
jekyll-sass-converter (3.0.0)
4848
sass-embedded (~> 1.54)
49+
jekyll-seo-tag (2.8.0)
50+
jekyll (>= 3.8, < 5.0)
4951
jekyll-sitemap (1.4.0)
5052
jekyll (>= 3.7, < 5.0)
5153
jekyll-watch (2.2.1)
@@ -93,6 +95,7 @@ DEPENDENCIES
9395
jekyll-feed (~> 0.12)
9496
jekyll-optional-front-matter (~> 0.3)
9597
jekyll-relative-links (~> 0.6)
98+
jekyll-seo-tag (~> 2.8)
9699
jekyll-sitemap (~> 1.4)
97100
tzinfo (>= 1, < 3)
98101
tzinfo-data

_config.yml

Lines changed: 51 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,71 @@
1-
# Welcome to Jekyll!
2-
#
3-
# This config file is meant for settings that affect your whole blog, values
4-
# which you are expected to set up once and rarely edit after that. If you find
5-
# yourself editing this file very often, consider using Jekyll's data files
6-
# feature for the data you need to update frequently.
7-
#
8-
# For technical reasons, this file is *NOT* reloaded automatically when you use
9-
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
10-
#
11-
# If you need help with YAML syntax, here are some quick references for you:
12-
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
13-
# https://learnxinyminutes.com/docs/yaml/
14-
#
15-
# Site settings
16-
# These are used to personalize your new site. If you look in the HTML files,
17-
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
18-
# You can create any custom variable you would like, and they will be accessible
19-
# in the templates via {{ site.myvariable }}.
20-
211
title: Ruby UY
222
email: admin@ruby.uy
233
description: >- # this means to ignore newlines until "baseurl:"
244
Sitio de la comunidad Ruby en Uruguay.
5+
lang: es_UY
256
baseurl: "" # the subpath of your site, e.g. /blog
267
url: https://ruby.uy # the base hostname & protocol for your site, e.g. http://example.com
27-
# twitter_username: jekyllrb
288
github_username: rubyuy
9+
logo: /assets/images/logo.svg
10+
social:
11+
name: Ruby UY
12+
links:
13+
- https://github.com/rubyuy/ruby.uy
14+
- https://twitter.com/rubymontevideo
15+
- https://www.instagram.com/ruby_uruguay/
16+
- https://www.youtube.com/@ruby_uy
2917

3018
# Build settings
3119
plugins:
3220
- jekyll-default-layout
3321
- jekyll-feed
3422
- jekyll-optional-front-matter
3523
- jekyll-relative-links
24+
- jekyll-seo-tag
3625
- jekyll-sitemap
3726

3827
collections:
3928
meetups:
4029
output: true
4130
permalink: /meetups/:year-:month-:day/:title
31+
32+
defaults:
33+
- scope:
34+
path: ""
35+
values:
36+
description: "Comunidad Ruby en Uruguay: meetups, charlas y contenido de Ruby y Ruby on Rails para desarrolladores."
37+
keywords: "comunidad ruby uruguay, meetup ruby uruguay, ruby on rails uruguay, charlas ruby"
38+
- scope:
39+
path: "index.md"
40+
values:
41+
title: "Comunidad Ruby Uruguay: Meetups y Charlas de Ruby on Rails"
42+
page_scripts:
43+
- next_meetup_callout
44+
- sponsors
45+
- scope:
46+
path: "talks.html"
47+
values:
48+
title: "Charlas Ruby y Ruby on Rails en Uruguay"
49+
description: "Explorá todas las charlas de Ruby UY: Ruby, Ruby on Rails y tecnología compartida por la comunidad de Uruguay."
50+
keywords: "charlas ruby, charlas ruby on rails, comunidad ruby uruguay, meetup ruby uruguay"
51+
page_scripts:
52+
- talks
53+
- scope:
54+
path: "community.html"
55+
values:
56+
title: "Comunidad Ruby Uruguay: proyectos open source"
57+
description: "Descubrí proyectos Ruby y Ruby on Rails creados por la comunidad de Ruby Uruguay, ordenados por estrellas y autor."
58+
keywords: "comunidad ruby uruguay, proyectos ruby, proyectos ruby on rails, open source uruguay"
59+
page_scripts:
60+
- community
61+
- scope:
62+
path: "sponsors.md"
63+
values:
64+
description: "Empresas que apoyan a Ruby UY y hacen posibles nuestros meetups y charlas en Uruguay."
65+
keywords: "sponsors ruby uruguay, comunidad ruby uruguay, meetup ruby uruguay"
66+
- scope:
67+
path: ""
68+
type: "meetups"
69+
values:
70+
description: "Detalle de meetup de Ruby UY con charlas, speakers y recursos de la comunidad Ruby en Uruguay."
71+
keywords: "meetup ruby uruguay, charlas ruby, comunidad ruby uruguay"

_includes/default_header.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ <h2>Sé parte_</h2>
1111
</div>
1212
<div>
1313
{% for service in site.data.socials %}
14-
<a href="{{ service[1] }}" target="_blank">
15-
{{ service[0] }}<img src='/assets/images/arrow.svg' aria-hidden="true" focuseable="false"/>
14+
<a href="{{ service[1] }}" target="_blank" rel="noopener noreferrer">
15+
{{ service[0] }}<img src='/assets/images/arrow.svg' width="30" height="27" aria-hidden="true" focuseable="false"/>
1616
</a>
1717
{% endfor %}
1818
<a href="/community">Community<img src='/assets/images/arrow.svg' aria-hidden="true" focuseable="false"/></a>

_includes/footer.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
<footer>
22
<div id="contact">
33
<h1>
4-
<a href="mailto:org@ruby.uy" target="_blank">org@ruby.uy</a>
4+
<a href="mailto:org@ruby.uy">org@ruby.uy</a>
55
</h1>
66
<p><a href="/charlas">Buscar charlas</a></p>
77
<ul>
88
<li>
9-
<a href="https://twitter.com/rubymontevideo" target="_blank"><img src="/assets/images/twitter.svg" alt="Twitter Icon"></a>
9+
<a href="https://twitter.com/rubymontevideo" target="_blank" rel="noopener noreferrer"><img src="/assets/images/twitter.svg" width="32" height="32" alt="Twitter Icon"></a>
1010
</li>
1111
<li>
12-
<a href="https://github.com/rubyuy/ruby.uy" target="_blank"><img src="/assets/images/github.svg" alt="Github Icon"></a>
12+
<a href="https://github.com/rubyuy/ruby.uy" target="_blank" rel="noopener noreferrer"><img src="/assets/images/github.svg" width="32" height="32" alt="Github Icon"></a>
1313
</li>
1414
<li>
15-
<a href="https://www.instagram.com/ruby_uruguay/" target="_blank"><img src="/assets/images/instagram.svg" alt="Instagram Icon"></a>
15+
<a href="https://www.instagram.com/ruby_uruguay/" target="_blank" rel="noopener noreferrer"><img src="/assets/images/instagram.svg" width="32" height="32" alt="Instagram Icon"></a>
1616
</li>
1717
</ul>
1818
</div>
1919
<div>
20-
<img src="/assets/images/thank_you.svg" aria-hidden="true">
20+
<img src="/assets/images/thank_you.svg" width="420" height="160" aria-hidden="true">
2121
</div>
2222
</footer>

_includes/head.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<head>
2-
<title>Ruby UY</title>
32
<meta charset='utf-8' />
43
<meta name="viewport" content="width=device-width, initial-scale=1">
5-
<meta name="description" content="Sitio de la comunidad de Ruby en Uruguay">
64
<meta name="view-transition" content="same-origin" />
5+
<meta name="keywords" content="{{ page.keywords | default: site.keywords }}">
6+
{% seo %}
7+
78
<link rel="preconnect" href="https://fonts.googleapis.com">
89
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
9-
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&display=swap" rel="stylesheet">
1010
<link href="https://fonts.googleapis.com/css2?family=DM+Sans&family=Syncopate:wght@400;700&display=swap" rel="stylesheet">
11-
12-
<script async src="https://analytics.umami.is/script.js" data-website-id="209b35e2-b972-4bf5-8a88-09cedbc740f8" data-domains="ruby.uy"></script>
1311
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ site.url }}/feed.xml">
12+
<script async src="https://analytics.umami.is/script.js" data-website-id="209b35e2-b972-4bf5-8a88-09cedbc740f8" data-domains="ruby.uy"></script>
13+
1414
<link rel="stylesheet" href="{{ "styles" | css_asset | buster }}">
15-
<script src="{{ "application" | js_asset | buster }}"></script>
16-
<script src="{{ "nav" | js_asset | buster }}"></script>
17-
<script src="{{ "next_meetup_callout" | js_asset | buster }}"></script>
18-
<script src="{{ "sponsors" | js_asset | buster }}"></script>
19-
<script src="{{ "talks" | js_asset | buster }}"></script>
15+
<script defer src="{{ "application" | js_asset | buster }}"></script>
16+
<script defer src="{{ "nav" | js_asset | buster }}"></script>
17+
{% for script_name in page.page_scripts %}
18+
<script defer src="{{ script_name | js_asset | buster }}"></script>
19+
{% endfor %}
2020
</head>

_includes/meetups.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ <h1>EDICIONES PASADAS</h1>
44
<p>Conocé el contenido de las ediciones pasadas.</p>
55
<a href="/charlas" class="meetup-event__search-link">
66
Buscar entre todas las charlas
7-
<img src="/assets/images/arrow.svg" aria-hidden="true">
7+
<img src="/assets/images/arrow.svg" width="30" height="27" aria-hidden="true">
88
</a>
99
</header>
1010

@@ -20,14 +20,16 @@ <h2 class="meetup-event__date_year">{{ year.name }}</h2>
2020

2121
<ul>
2222
{% for meetup in year.items %}
23+
{% assign meetup_host = site.data.companies[meetup.host] %}
24+
{% assign meetup_sponsor_name = meetup_host.name | default: meetup.title %}
2325
<li class="meetup-event">
2426
<a href="{{ meetup.url }}" class="meetup-event__link">
2527
<span class="meetup-event__date">
2628
{{ meetup.date | date_to_string }}
2729
</span>
2830
<span class="meetup-event__company">
29-
{{ meetup.title }}
30-
<img src="/assets/images/arrow.svg" aria-hidden="true">
31+
{{ meetup_sponsor_name }}
32+
<img src="/assets/images/arrow.svg" width="30" height="27" aria-hidden="true">
3133
</span>
3234
</a>
3335
</li>

_includes/next_meetup.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ <h1 class="next-meetup-callout__title">Próxima meetup</h1>
1313
</header>
1414
<article>
1515
<div class="next-meetup__details" id="meetup">
16-
<img src="/assets/images/stars.svg" aria-hidden="true" focusable="false" class="stars">
16+
<img src="/assets/images/stars.svg" width="56" height="56" aria-hidden="true" focusable="false" class="stars">
1717
<h2>Podés ser parte de la próxima meetup!</h2>
1818
<ul aria-label="Next Meetup Details">
1919
<li aria-label="When">
@@ -26,7 +26,7 @@ <h2>Podés ser parte de la próxima meetup!</h2>
2626
</li>
2727
<li aria-label="Where">
2828
<img src="/assets/images/location_icon.svg" alt="Location Icon" width="34" height="42">
29-
<a href="{{ host.address_url}}" target="_blank">{{ host.name }} | {{ host.address }}</a>
29+
<a href="{{ host.address_url}}" target="_blank" rel="noopener noreferrer">{{ host.name }} | {{ host.address }}</a>
3030
</li>
3131
{% if next_meetup.talks.size < 1 %}
3232
<li aria-label="Speakers">
@@ -40,7 +40,7 @@ <h2>Podés ser parte de la próxima meetup!</h2>
4040
{% for talk in next_meetup.talks %}
4141
<li>
4242
{% for speaker in talk.speakers %}
43-
<img src="https://github.com/{{ site.data.people[speaker].github }}.png" alt="Speaker Photo" style="width: calc(100% / {{ talk.speakers.size }} - 1%)">
43+
<img src="https://github.com/{{ site.data.people[speaker].github }}.png" alt="Speaker Photo" loading="lazy" width="160" height="160" style="width: calc(100% / {{ talk.speakers.size }} - 1%)">
4444
{% endfor %}
4545
<article>
4646
<h1 aria-label="First Speaker Name">

_includes/project_card.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66

77
{% if medal_name != "" %}
88
<div class="project-medal-wrap">
9-
<img src="/assets/images/{{ medal_name }}.svg" alt="Rank {{ project_rank }}" class="project-medal">
9+
<img src="/assets/images/{{ medal_name }}.svg" width="44" height="44" alt="Rank {{ project_rank }}" class="project-medal">
1010
</div>
1111
{% endif %}
1212

1313
<div class="project-body">
1414
<div class="project-header">
1515
<h4>
16-
<a href="{{ project.url }}" target="_blank" rel="noopener">{{ project.name }}</a>
16+
<a href="{{ project.url }}" target="_blank" rel="noopener noreferrer">{{ project.name }}</a>
1717
</h4>
1818
<span class="project-stars">★ {{ project.stars }}</span>
1919
</div>
@@ -24,7 +24,7 @@ <h4>
2424

2525
<div class="project-meta">
2626
{% if person.github %}
27-
<img src="https://github.com/{{ person.github }}.png?size=30" alt="{{ person.name }}" loading="lazy" style="border-radius: 50%; width: 30px; vertical-align: middle;"/>
27+
<img src="https://github.com/{{ person.github }}.png?size=30" alt="{{ person.name }}" loading="lazy" width="30" height="30" style="border-radius: 50%; width: 30px; vertical-align: middle;"/>
2828
{% endif %}
2929
<span class="project-author">{{ person.name | default: project.github_user }}</span>
3030

0 commit comments

Comments
 (0)