Skip to content

Commit

Permalink
Do capitalization manually
Browse files Browse the repository at this point in the history
The liquid capitalize filter didn't work nicely with abbreviations like
"OS".
  • Loading branch information
anishathalye committed Feb 8, 2019
1 parent 7f6f3a1 commit e739bb2
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
32 changes: 16 additions & 16 deletions _data/lectures.yml
Original file line number Diff line number Diff line change
@@ -1,51 +1,51 @@
- date: Tuesday, 1/15
topics:
- title: course overview
- title: Course overview
url: /course-overview/
- title: virtual machines and containers
- title: Virtual machines and containers
url: /virtual-machines/
- title: shell and scripting
- title: Shell and scripting
url: /shell/

- date: Thursday, 1/17
topics:
- title: command-line environment
- title: Command-line environment
url: /command-line/
- title: data wrangling
- title: Data wrangling
url: /data-wrangling/

- date: Tuesday, 1/22
topics:
- title: editors
- title: Editors
url: /editors/
- title: version control
- title: Version control
url: /version-control/

- date: Thursday, 1/24
topics:
- title: dotfiles
- title: Dotfiles
url: /dotfiles/
- title: backups
- title: Backups
url: /backups/
- title: automation
- title: Automation
url: /automation/
- title: machine introspection
- title: Machine introspection
url: /machine-introspection/

- date: Tuesday, 1/29
topics:
- title: program introspection
- title: Program introspection
url: /program-introspection/
- title: package/dependency management
- title: Package/dependency management
url: /package-management/
- title: OS customization
url: /os-customization/
- title: remote machines
- title: Remote machines
url: /remote-machines/

- date: Thursday, 1/31
topics:
- title: web and browsers
- title: Web and browsers
url: /web/
- title: security and privacy
- title: Security and privacy
url: /security/
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ software, configure your desktop environment, and more.
<ul>
{% for lecture in site.data.lectures %}
{% for topic in lecture.topics %}
<li><a href="{{ topic.url }}">{{ topic.title | capitalize }}</a></li>
<li><a href="{{ topic.url }}">{{ topic.title }}</a></li>
{% endfor %}
{% endfor %}
</ul>
Expand Down
2 changes: 1 addition & 1 deletion lectures.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h1>{{ lecture.date }}</h1>

<ul>
{% for topic in lecture.topics %}
<li><a href="{{ topic.url }}">{{ topic.title | capitalize }}</a></li>
<li><a href="{{ topic.url }}">{{ topic.title }}</a></li>
{% endfor %}
</ul>

Expand Down

0 comments on commit e739bb2

Please sign in to comment.