Browse Source

Replace title with occupation_title

title is a reserved keyword
Matthew Garrett 2 years ago
parent
commit
5a909e1e36
3 changed files with 5 additions and 5 deletions
  1. 3
    3
      _layouts/index.html
  2. 1
    1
      _signatures/Aaron_Ringgenberg.md
  3. 1
    1
      template.md

+ 3
- 3
_layouts/index.html View File

@@ -8,7 +8,7 @@
8 8
   {% assign sorted_signatures =  site.signatures | sort: 'name' %}
9 9
   {% for signature in sorted_signatures %}
10 10
     <li>
11
-      {% if signature.url %}
11
+      {% if signature.link %}
12 12
         <a href="{{ signature.link }}">{{ signature.name }}</a>
13 13
       {% else %}
14 14
         {{ signature.name }}
@@ -18,8 +18,8 @@
18 18
       , {{ signature.affiliation }}
19 19
       {% endif %}
20 20
 
21
-      {% if signature.title %}
22
-      , {{ signature.title }}
21
+      {% if signature.occupation_title %}
22
+      , {{ signature.occupation_title }}
23 23
       {% endif %}
24 24
     </li>
25 25
     {% if signature.github %}

+ 1
- 1
_signatures/Aaron_Ringgenberg.md View File

@@ -1,5 +1,5 @@
1 1
 ---
2 2
   name: Aaron Ringgenberg
3 3
   affiliation: Patreon
4
-  title: DevOps Engineer
4
+  occupation_title: DevOps Engineer
5 5
 ---

+ 1
- 1
template.md View File

@@ -2,6 +2,6 @@
2 2
   name: Your name
3 3
   link: A link for your name. (Remove this line if you don't want a link.)
4 4
   affiliation: Your affiliation. (Remove this line if you don't want an affiliation.)
5
-  title: My title. (Remove this line if you don't want to list your title.)
5
+  occupation_title: My title. (Remove this line if you don't want to list your title.)
6 6
   github: Your github username (This won't show on the page, but it helps us keep track of where signatures originated in case we have to commit your signature for you to avoid merge conflicts.)
7 7
 ---

Loading…
Cancel
Save