Skip to content

Commit

Permalink
Use a data variable to build the project abbreviations list
Browse files Browse the repository at this point in the history
See #645 (comment) for discussion and more samples
  • Loading branch information
geoffreymcgill committed Oct 20, 2023
1 parent 0f278df commit 7e3c736
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 3 additions & 2 deletions _includes/bottom.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<!-- Add content to _includes/bottom.md to include here -->

<!-- Project wide abbreviations, _includes/bottom.md -->
*[HTML]: Hyper Text Markup Language
*[CSS]: Cascading Style Sheet
{{~ for item in abbreviations ~}}
*[{{ item.key }}]: {{ item.value }}
{{~ end ~}}
5 changes: 5 additions & 0 deletions retype.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ links:
icon: <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-.139 9.237c.209 4.617-3.234 9.765-9.33 9.765-1.854 0-3.579-.543-5.032-1.475 1.742.205 3.48-.278 4.86-1.359-1.437-.027-2.649-.976-3.066-2.28.515.098 1.021.069 1.482-.056-1.579-.317-2.668-1.739-2.633-3.26.442.246.949.394 1.486.411-1.461-.977-1.875-2.907-1.016-4.383 1.619 1.986 4.038 3.293 6.766 3.43-.479-2.053 1.08-4.03 3.199-4.03.943 0 1.797.398 2.395 1.037.748-.147 1.451-.42 2.086-.796-.246.767-.766 1.41-1.443 1.816.664-.08 1.297-.256 1.885-.517-.439.656-.996 1.234-1.639 1.697z"/></svg>
target: blank

data:
abbreviations:
HTML: Hyper Text Markup Language
CSS: Cascading Style Sheet

footer:
copyright: © Copyright {{ year }} – [Retype](https://retype.com/) – All rights reserved
links:
Expand Down

0 comments on commit 7e3c736

Please sign in to comment.