Skip to content

Commit d741e19

Browse files
author
kris70lesgo
committed
"Standardize label casing and remove unnecessary attributes for consistency"
1 parent 90dcf8f commit d741e19

File tree

4 files changed

+15
-7
lines changed

4 files changed

+15
-7
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{% extends "layout.html" %}
22
{% block body %}
3-
<div class="container padding-vertical-xxl has-text-centered" role="main">
3+
<main class="container padding-vertical-xxl has-text-centered">
44
<h1>404</h1>
55
<h2>Page Not Found!</h2>
6-
<p class="body-big" role="alert">Sorry. The page you are looking for doesn't exist.</p>
7-
<a class="button is-success margin-vertical-big" href="/" role="link" aria-label="Return to homepage">Return Home</a>
8-
</div>
6+
<p class="body-big">Sorry. The page you are looking for doesn't exist.</p>
7+
<a class="button is-success margin-vertical-big" href="/">Return Home</a>
8+
</main>
99
<!-- Creative commons -->
1010
{% endblock %}

themes/vocabulary_theme/templates/cc-search-guide.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ <h4 class="step-header">Steps</h4>
2323
<span class="number">{{ step.number }}</span>
2424
</a>
2525
</li>
26+
{% set step.number = step.number + 1 %}
2627
{% endif %}
2728
{% endfor %}
2829
</ul>

themes/vocabulary_theme/templates/layout.html

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<body>
4646
<!-- Header -->
4747
<header class="container">
48-
<nav class="navbar" aria-label="Main navigation">
48+
<nav class="navbar" aria-label="Main Navigation">
4949
<div class="navbar-brand">
5050
<a class="has-text-black" href="{{ '/'|url }}" aria-label="Home">
5151
<svg
@@ -177,7 +177,14 @@
177177
<div class="columns">
178178
<div class="column is-one-third-tablet-only is-one-quarter-desktop">
179179
<a href="https://creativecommons.org" class="main-logo margin-bottom-bigger">
180-
<span class="logo-text">Creative Commons</span>
180+
<span class="has-text-white">
181+
<svg
182+
xmlns="http://www.w3.org/2000/svg"
183+
preserveAspectRatio="xMidYMid meet"
184+
viewBox="0 0 304 73">
185+
<use href="#logomark"></use>
186+
</svg>
187+
</span>
181188
</a>
182189
<div>
183190
<address class="margin-bottom-normal">Creative Commons<br />PO Box 1866, Mountain View CA 94042</address>

themes/vocabulary_theme/templates/project-ideas.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<h1>Open Source Work Programs: Project Ideas</h1>
1010
<p class="description">This is the project idea list for the <span class="has-color-forest-green">current round of open source collaborations at Creative Commons (CC).</span></p>
1111
{% set ideas = site.query('/programs/project-ideas-collection').include_undiscoverable(true) %}
12-
<div class="filter-labels" id="project-list" aria-label="Project filters">
12+
<div class="filter-labels" id="project-list" aria-label="Project Filters">
1313
<button type="button" class="button tag btn-dark filter-btn" data-filter="all">
1414
All Projects
1515
</button>

0 commit comments

Comments
 (0)