Skip to content

Commit

Permalink
fix capitalisation
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-nika committed Oct 30, 2024
1 parent 5733e74 commit 114342c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
10 changes: 9 additions & 1 deletion _layouts/training.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,15 @@
<div class="training-head">
<div class="training-col">
<h1 class="training-name">
{{ page.title }}
{% assign words = page.name | split: ' ' %}
{% for word in words %}
{% if word == 'TDD' %}
{{ word }}
{% else %}
{{ word | capitalize }}
{% endif %}
{% unless forloop.last %} {% endunless %}
{% endfor %}
</h1>
{% assign schedule = site.data.training-list.trainings | where_exp: "item", "item.training == page.path" | first %}
<div class="training-info">
Expand Down
4 changes: 4 additions & 0 deletions _sass/training.sass
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@
flex-flow: column
padding: 1em
.training-name
text-transform: none !important
-webkit-text-transform: none !important
-moz-text-transform: none !important
-ms-text-transform: none !important
color: #4EB813
display: flex
font-size: 1.6em
Expand Down
6 changes: 3 additions & 3 deletions _trainings/tdd-and-restful-phoenix.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
published: true
experience:
- Intermediate
name: "TDD and RESTful Phoenix"
name: TDD and RESTful Phoenix
type: training
trainers:
- _participants/tee-teoh.md
Expand All @@ -16,15 +16,15 @@ for writing, running, and automating tests.

**DELIVERY CHANNEL**

In person
In person,

**EXPERTISE**

Intermediate

**DURATION**

8 hours (including breaks and lunch)
3 days of 8 hours (including breaks and lunch)

**PREREQUISITES**

Expand Down

0 comments on commit 114342c

Please sign in to comment.