Skip to content

Commit df90028

Browse files
committed
Prevent the title repetition.
1 parent db7f01f commit df90028

File tree

42 files changed

+21
-96
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+21
-96
lines changed

courses/courses.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
- name: Začátečnický kurz Pyladies
2-
description: Naučte se Python vážně od začátku. Žádné předchozí znalosti nejsou potřeba.
1+
pyladies:
32
link: pyladies
4-
- name: MI-PYT
5-
description: Základy již znáte a chcete se dozvědět o dalších možnostech využití Pythonu.
3+
title: Začátečnický kurz Pyladies
4+
description: Naučte se Python vážně od začátku. Žádné předchozí znalosti nejsou potřeba.
5+
6+
mi-pyt:
67
link: mi-pyt
8+
title: MI-PYT
9+
description: Základy již znáte a chcete se dozvědět o dalších možnostech využití Pythonu.

courses/index.html

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{% extends 'templates/_base.html' %}
22

3-
{% block title %}Seznam online kurzů Pythonu{% endblock %}
4-
53
{% block content %}
64
<p>Momentálně jsou dostupné tyto kurzy:</p>
75

@@ -10,16 +8,8 @@
108
<div class="sections col-xs-12 col-sm-12 col-md-8 col-lg-8">
119
{% for course in courses %}
1210
<div class="section-box" id="section{{ loop.index }}">
13-
{% if 'link' in course %}
14-
<h4><a href="{{ course_url(course['link']) }}">{{ course['name'] }}</a></h4>
15-
{% else %}
16-
{{ course['name'] }}
17-
{% endif %}
18-
19-
{% if 'description' in course %}
20-
<p class="section-info course-city-p"> {{ course['description'] }} </p>
21-
{% endif %}
22-
11+
<h4><a href="{{ course_url(courses[course]['link']) }}">{{ courses[course]['title'] }}</a></h4>
12+
<p class="section-info course-city-p"> {{ courses[course]['description'] }} </p>
2313
</div>
2414
{% endfor %}
2515
</div>

courses/mi-pyt/index.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{% extends 'templates/course_page.html' %}
22

3-
{% block title %}MI-PYT kurz{% endblock %}
4-
53
{% block headline %}
64

75
<h2>Kurz MI-PYT</h2>

courses/pyladies/and-or/index.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{% extends 'templates/_base.html' %}
22

3-
{% block title %}Nebo anebo a{% endblock %}
4-
53
{% block content %}
64
<div class="row stuff">
75
<div class="col-lg-12">

courses/pyladies/asteroids/index.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{% extends 'templates/_base.html' %}
22

3-
{% block title %}Asteroids{% endblock %}
4-
53
{% block content %}
64

75
<div class="row stuff">

courses/pyladies/branching/index.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{% extends 'templates/_base.html' %}
22

3-
{% block title %}Větvení v Gitu{% endblock %}
4-
53
{% block style %}
64
.green { color: #0A3; }
75
.red { color: #D30; }

courses/pyladies/circular_imports/index.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{% extends 'templates/_base.html' %}
22

3-
{% block title %}Poznámka k importu{% endblock %}
4-
53
{% block content %}
64

75
<div class="slides row stuff">

courses/pyladies/classes/index.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{% extends 'templates/_base.html' %}
22

3-
{% block title %}Třídy{% endblock %}
4-
53
{% block content %}
64

75
<div class="row stuff">

courses/pyladies/cmdline/index.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{% extends 'templates/_base.html' %}
22

3-
{% block title %}Příkazová řádka{% endblock %}
4-
53
{% block content %}
64
<div class="slides">
75
<section class="row stuff">

courses/pyladies/comparisons/index.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{% extends 'templates/_base.html' %}
22

3-
{% block title %}Porovnávání{% endblock %}
4-
53
{% block content %}
64
<div class="row stuff">
75
<div class="col-lg-12">

0 commit comments

Comments
 (0)