Skip to content

Commit

Permalink
fix: page header consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
JesperDramsch committed Aug 23, 2024
1 parent 6258d83 commit 0c6a5d7
Show file tree
Hide file tree
Showing 41 changed files with 163 additions and 295 deletions.
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ collections:
permalink: /resources/:title/index:output_ext
years:
output: true
permalink: /archive/:title/index:output_ext

plugins:
- jekyll-sitemap
Expand Down
2 changes: 1 addition & 1 deletion _data/conferences.yml
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@
timezone: America/Los_Angeles
place: San Francisco, USA
start: 2023-10-16
end: 2024-10-17
end: 2023-10-17
sponsor: https://events.linuxfoundation.org/pytorch-conference/sponsor/
finaid: https://events.linuxfoundation.org/pytorch-conference/attend/scholarships-travel-funding/
sub: DATA
Expand Down
5 changes: 5 additions & 0 deletions _i18n/de/resources/description.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Diese Seite widmet sich der Unterstützung beim Verfassen herausragender Call for Proposals (CfPs) für Python-Konferenzen. Hier finden Sie eine Sammlung von Leitfäden und Tipps zum Schreiben überzeugender Vorschläge.

Diese Ressourcen decken verschiedene Aspekte des CfP-Schreibens ab, von der Themenwahl bis zur Strukturierung Ihrer Einreichung. Ob Erstsprecher oder ein erfahrener Vortragender, diese Tools zielen darauf ab, Deine Fähigkeiten im Proposal-Schreiben zu verbessern.

Erkunde unsere kuratierten Inhalte, um deine Chancen zu erhöhen, dass dein Vortrag oder Workshop bei Python-Veranstaltungen weltweit angenommen wird.
5 changes: 4 additions & 1 deletion _i18n/de/series/description.md
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
Alle Python Eventserien.
Dieser Bereich unseres Community-Tools dient als umfassendes Verzeichnis wiederkehrender Python-Konferenzreihen. Hier findest du einen Überblick über regelmäßige Veranstaltungen, deren typische Zeitpläne und historische Informationen.

Die Reihen werden mit kurzen Beschreibungen und Links zu vergangenen Veranstaltungen präsentiert, um bei der langfristigen Konferenzplanung zu helfen.
Klick auf eine Eventreihe, um weitere Details und Informationen zu bevorstehenden und vergangenen Veranstaltungen zu erhalten.
5 changes: 5 additions & 0 deletions _i18n/en/resources/description.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
This page is dedicated to helping you craft outstanding Call for Proposals (CfPs) for Python conferences. Here, you'll find a collection of blog posts, guides, and tips on writing compelling proposals.

Our resources cover various aspects of CfP writing, from choosing a topic to structuring your submission. Whether you're a first-time speaker or a seasoned presenter, these tools aim to enhance your proposal-writing skills.

Explore our curated content to increase your chances of getting your talk or workshop accepted at Python events worldwide.
5 changes: 4 additions & 1 deletion _i18n/en/series/description.md
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
All Python Event Series.
This section of our community tool serves as a comprehensive directory of recurring Python conference series. Here, you'll find an overview of regular events, their typical schedules, and historical information.

The series are presented with brief descriptions and links to past events, helping you plan your long-term conference participation.
Check out a series to view more details and access information about its upcoming and past events.
5 changes: 5 additions & 0 deletions _i18n/es/resources/description.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Esta página está dedicada a ayudarle a elaborar excelentes Convocatorias de Propuestas (CfPs) para conferencias de Python. Aquí encontrará una colección de publicaciones de blog, guías y consejos sobre cómo escribir propuestas convincentes.

Nuestros recursos cubren varios aspectos de la redacción de CfP, desde la elección de un tema hasta la estructuración de su presentación. Ya sea un orador novato o un presentador experimentado, estas herramientas tienen como objetivo mejorar sus habilidades de redacción de propuestas.

Explore nuestro contenido seleccionado para aumentar sus posibilidades de que su charla o taller sea aceptado en eventos de Python en todo el mundo.
5 changes: 4 additions & 1 deletion _i18n/es/series/description.md
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
Todas as serias de conferencias de Python.
Esta sección de nuestra herramienta comunitaria sirve como un directorio completo de series de conferencias de Python recurrentes. Aquí encontrará una visión general de eventos regulares, sus horarios típicos e información histórica.

Las series se presentan con breves descripciones y enlaces a eventos pasados, ayudándole a planificar su participación en conferencias a largo plazo.
Haga clic en una serie para ver más detalles y acceder a información sobre sus eventos próximos y pasados.
53 changes: 53 additions & 0 deletions _includes/masthead.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<div class="page-header">
<div class="container">
<div class="row align-items-end">
<div class="col-md-8">
{% include breadcrumbs.html %}
<h1 class="display-4">{{ include.title}}</h1>
<span class="lead"> {{ include.hook}} </span>
<span class="text-muted"> {{ include.description}} </span>
</div>
<div class="col-md-4">
<div class="d-flex justify-content-center">
<a href="{{ site.baseurl }}/{{ site.github_repo }}.ics" class="btn btn-outline-primary mx-1">
<i class="fa fa-calendar-plus-o" aria-hidden="true"></i> {% t buttons.ical %}
</a>
<a
href="https://calendar.google.com/calendar/r?cid={{ site.url }}/{{ site.github_repo }}.ics"
class="btn btn-outline-danger mx-1"
>
<i class="fa fa-google" aria-hidden="true"></i> {% t buttons.google %}
</a>
<a
href="https://github.com/{{ site.github_username }}/{{ site.github_repo }}/"
class="btn btn-outline-dark mx-1"
>
<i class="fa fa-github" aria-hidden="true"></i> {% t buttons.github %}
</a>
</div>
<hr class="my-3" />
<form>
<div class="form-group">
<label for="subject-select" class="mb-2 align-center control-label">
{% t global.sub_filter %}
</label>
<br />
<select
id="subject-select"
name="subject-select"
multiple="multiple"
class="form-control"
style="display: none"
>
{% for type in site.data.types %}
<option value="{{type.sub}}" id="{{type.sub}}-checkbox">
{{type.name}} ({{type.sub}})
</option>
{% endfor %}
</select>
</div>
</form>
</div>
</div>
</div>
</div>
32 changes: 4 additions & 28 deletions _layouts/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,35 +6,11 @@
{% include head.html %}
</head>
<body>
{% include header.html %}
{% include header.html %} {% capture search_title %} {% t titles.search %} {% endcapture %} {% capture
search_hook %} {% tf frontpage/hook.md %} {% endcapture %} {% capture search_description %} {% tf
frontpage/description.md %} {% endcapture %} {% include masthead.html title=search_title hook=search_hook
description=search_description %}
<div class="container">
<div class="page-header">
<div class="row">
<div class="col-12 col-sm-12">
{% include breadcrumbs.html %}
<h1>{{ title }}</h1>
</div>
</div>
<div class="row">
<div class="col-md-1 col-sm-0"></div>
<div class="col-md-10 col-sm-12">
<form>
<div class="form-group">
<form class="form" action="{% tl search %}" method="get">
<input
type="search"
id="search"
name="query"
class="form-control col-12"
placeholder="{% t titles.search %}"
aria-label="Search"
/>
<button class="btn btn-outline-dark col-12" type="submit">{% t titles.search %}</button>
</form>
</div>
</div>
</div>
</div>
<div id="confs">{{ content }}</div>
<footer>{% include footer.html %}</footer>
<br /><br />
Expand Down
49 changes: 4 additions & 45 deletions _layouts/year.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,52 +3,11 @@
{% include head.html %}
</head>
<body>
{% include header.html %}
{% include header.html %} {% capture fp_title %} {% t titles.archive %} {{page.year}} {% endcapture %} {%
capture fp_hook %} {% tf frontpage/hook.md %} {% endcapture %} {% capture fp_description %} {% tf
frontpage/description.md %} {% endcapture %} {% include masthead.html title=fp_title hook=fp_hook
description=fp_description %}
<div class="container">
<div class="page-header">
<div class="row">
<div class="col-12 col-sm-12">
{% include breadcrumbs.html %}
<h1>{{ title }}</h1>
</div>
<div class="meta col-12">{% tf frontpage/hook.md %}</div>
</div>
<br />
<div class="row">
<div class="meta col-8">{% tf frontpage/description.md %}</div>
<div class="meta col-4">
<form class="container">
<div class="row justify-content-center">
<div class="row align-items-md-center col-12 col-10-md">
<div class="col-12 col-md-5 filter-label">
<label
for="subject-select"
class="align-center"
style="margin-bottom: 0px; line-height: 1.5"
>
{% t global.sub_filter %}
</label>
</div>
<div class="col-12 col-md-6">
<select
id="subject-select"
name="subject-select"
multiple="multiple"
style="display: none"
>
{% for type in site.data.types %}
<option value="{{type.sub}}" id="{{type.sub}}-checkbox">
{{type.name}} ({{type.sub}})
</option>
{% endfor %}
</select>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
<div id="confs">
<div id="past_confs">
<h1 id="past-events-title">{% t titles.past_events %}</h1>
Expand Down
59 changes: 14 additions & 45 deletions _pages/archive.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,52 +11,21 @@
{% include head.html %}
</head>
<body>
{% include header.html %}
{% include header.html %}

{% capture arch_title %}
{% t titles.archive %}
{% endcapture %}
{% capture arch_hook %}
{% tf frontpage/hook.md %}
{% endcapture %}
{% capture arch_description %}
{% tf frontpage/description.md %}
{% endcapture %}

{% include masthead.html title=arch_title hook=arch_hook description=arch_description %}

<div class="container">
<div class="page-header">
<div class="row">
<div class="col-12 col-sm-12">
{% include breadcrumbs.html %}
<h1>{{ title }}</h1>
</div>
<div class="meta col-12">{% tf frontpage/hook.md %}</div>
</div>
<br />
<div class="row">
<div class="meta col-8">{% tf frontpage/description.md %}</div>
<div class="meta col-4">
<form class="container">
<div class="row justify-content-center">
<div class="row align-items-md-center col-12 col-10-md">
<div class="col-12 col-md-5 filter-label">
<label
for="subject-select"
class="align-center"
style="margin-bottom: 0px; line-height: 1.5"
>
{% t global.sub_filter %}
</label>
</div>
<div class="col-12 col-md-6">
<select
id="subject-select"
name="subject-select"
multiple="multiple"
style="display: none"
>
{% for type in site.data.types %}
<option value="{{type.sub}}" id="{{type.sub}}-checkbox">
{{type.name}} ({{type.sub}})
</option>
{% endfor %}
</select>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
<div id="confs">
<h1 id="past-events-title">{% t titles.past_events %}</h1>
{% assign current_year = site.time | date: "%Y" | plus: 0 %} {% for page in site.years %} {% assign year
Expand Down
49 changes: 4 additions & 45 deletions _pages/calendar.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,52 +12,11 @@
</head>

<body>
{% include header.html %}
<div class="container">
<br />
{% include breadcrumbs.html %}
<h1>{{title}}</h1>
<div class="row">
<div class="meta col-sm-12">{% tf calendar/description.md %}</div>
<br />
</div>
{% include header.html %} {% capture cal_title %} {% t titles.calendar %} {% endcapture %} {% capture cal_hook
%} {% tf frontpage/hook.md %} {% endcapture %} {% capture cal_description %} {% tf calendar/description.md %} {%
endcapture %} {% include masthead.html title=cal_title description=cal_description %}

<br />

<!-- Filter Form -->
<div class="row">
<form class="container">
<div class="row justify-content-center">
<div class="row align-items-md-center col-12 col-10-md">
<div class="col-12 col-md-5 filter-label">
<label
for="subject-select"
class="align-center"
style="margin-bottom: 0px; line-height: 1.5"
>
{% t global.sub_filter %}
</label>
</div>
<div class="col-12 col-md-6">
<select
id="subject-select"
name="subject-select"
multiple="multiple"
style="display: none"
>
{% for type in site.data.types %}
<option value="{{type.sub}}" id="{{type.sub}}-checkbox">
{{type.name}} ({{type.sub}})
</option>
{% endfor %}
</select>
</div>
</div>
</div>
</form>
</div>

<br />
<div class="container">
<div id="calendar-page" class="calendar-page"></div>

<div class="modal fade" id="event-modal">
Expand Down
50 changes: 18 additions & 32 deletions _pages/map.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,37 +5,23 @@
permalink_de: /karte/
title: titles.map
---
<html>

<head>
{% include head.html %}
</head>

<body>

{% include header.html %}
<div class="container">
{% include breadcrumbs.html %}
<h1>{{ title }}</h1>
<div class="row">
<div class="meta col-sm-12">
{% tf maps/description.md %}
</div>
<br>
</div>

<br>

<!-- Filter Form -->
<div class="row">
{% google_map width="100%" zoom="2" id="places" src="_data/conferences.yml" no_cluster %}
</div>
<footer>
{% include footer.html %}
</footer>

</div>


</body>
<html>
<head>
{% include head.html %}
</head>

<body>
{% include header.html %} {% capture map_title %} {% t titles.map %} {% endcapture %} {% capture map_hook %} {%
tf frontpage/hook.md %} {% endcapture %} {% capture map_description %} {% tf frontpage/description.md %} {%
endcapture %} {% include masthead.html title=map_title hook=map_hook description=map_description %}

<div class="container">
<!-- Filter Form -->
<div class="row">
{% google_map width="100%" zoom="2" id="places" src="_data/conferences.yml" no_cluster %}
</div>
<footer>{% include footer.html %}</footer>
</div>
</body>
</html>
Loading

0 comments on commit 0c6a5d7

Please sign in to comment.