Skip to content

Commit 20635ed

Browse files
committed
Update title and description
1 parent d7d68a0 commit 20635ed

File tree

4 files changed

+35
-4
lines changed

4 files changed

+35
-4
lines changed

content/contributing-code/contents.lr

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ _template: page-with-toc.html
44
---
55
title: Contribution Guidelines
66
---
7+
description: We do all of our development [on GitHub](https://github.com/creativecommons/). If you are not familiar with GitHub or pull requests, [here is an excellent guide to get started](https://guides.github.com/activities/hello-world/).
8+
---
79
body:
810

9-
<p class="lead">Thank you for your interest in contributing to Creative Commons open source projects!</p>
10-
11-
We do all of our development [on GitHub](https://github.com/creativecommons/). If you are not familiar with GitHub or pull requests, [here is an excellent guide to get started](https://guides.github.com/activities/hello-world/).
1211

1312
## Finding an issue
1413

models/page.ini

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ label = {{ this.title }}
66
label = Title
77
type = string
88

9+
[fields.description]
10+
label = Title
11+
type = markdown
12+
913
[fields.body]
1014
label = Body
1115
type = markdown

themes/vocabulary_theme/templates/page-with-toc.html

+13-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
{% extends "layout.html" %}
2-
{% block title %}{{ this.title }}{% endblock %}
2+
33
{% block body %}
4+
<div class="code-guidelines">
5+
<header class="code-guidelines-title">
6+
<div class="container is-paddingless">
7+
<h1>{{ this.title }}</h1>
8+
<div class="description">
9+
{{this.description}}
10+
</div>
11+
</div>
12+
</header>
13+
</div>
14+
15+
416
<div class="card toc-card bg-light">
517
<div class="card-body">
618
<ul class="toc list-unstyled">

webpack/sass/main.scss

+16
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,19 @@ a {
3535
}
3636
}
3737
}
38+
39+
.code-guidelines {
40+
.code-guidelines-title {
41+
background-color: $color-lighter-gray;
42+
43+
.container {
44+
@extend .padding-horizontal-bigger;
45+
46+
.description {
47+
@extend .body-bigger;
48+
@extend .padding-top-small;
49+
@extend .padding-bottom-xl;
50+
}
51+
}
52+
}
53+
}

0 commit comments

Comments
 (0)