2023-07-12 01:56:06 +03:00
---
2023-07-15 14:42:42 +03:00
title: "Conventions 🧾"
2023-07-12 01:56:06 +03:00
date: "2023-06-29T23:38:56+03:00"
author: "editor-put-your-name-here"
contributors:
2023-07-12 02:10:05 +03:00
draft: false
2023-07-12 01:56:06 +03:00
keywords:
- internal
abstract: |
2023-08-14 17:50:50 +03:00
List of conventions to follow.
Leave `draft: true`
2023-07-12 01:56:06 +03:00
---
2023-08-14 17:50:50 +03:00
# Date format
2023-07-12 01:56:06 +03:00
> DD.MM.YYYY
2023-08-14 17:50:50 +03:00
as in 13.05.1998.
2023-07-12 01:56:06 +03:00
2023-08-14 17:50:50 +03:00
# File naming conventions
For file-naming conventions see .
<!--
2023-07-12 01:56:06 +03:00
# File naming conventions
- All **lowercase**
- Use **dash as separator**
- No spaces
- No underscores
| Type | Filename convention | Creation command |
|-|-|-|
| contributor | name-surname.md | `hugo new contributor/name-surname.md` |
| editor | name-surname.md | `hugo new editor/name-surname.md` |
2023-08-14 17:50:50 +03:00
| issue | issue-x.md* | `hugo new issue/issue-x.md` |
2023-07-12 01:56:06 +03:00
| article | article-short-title.md | `hugo new article/article-short-title.md` |
2023-08-14 17:50:50 +03:00
| print (issue)\** | p-issue-x.md | `hugo new print/p-issue-x.md` |
2023-07-12 01:56:06 +03:00
| print (article)\*\* | p-article-short-title.md | `hugo new print/p-article-short-title.md` |
\* where x is issue number
2023-08-14 17:50:50 +03:00
\*\* creating a new print file can break the site if (a) the `print: ` target points to an inexistent file, or if (b) a public print item points to a non-published target.
-->
# 'int-' prefix for files intended for *Internal* use
2023-07-12 01:56:06 +03:00
Files purposed to be for internal use, and are *not public facing* :
- start with `int-` , like this file `int-conventions.md`
Their header file:
- features the keyword `internal`
- the draft flag is set to true, as in `draft: true`
2023-08-14 17:50:50 +03:00
- suffix the abstract with: Leave `draft: true`
2023-07-12 01:56:06 +03:00
# Images and attachments
2023-08-14 17:50:50 +03:00
Place images or other attachments related to a specific article in the appropriate subdirectory inside the `root/static/` folder as in:
2023-07-12 01:56:06 +03:00
2023-08-14 17:50:50 +03:00
```
static/issue-x/author/image.png
```
2023-07-12 01:56:06 +03:00
2023-08-14 17:50:50 +03:00
So that it can be referenced from an article like so:
2023-07-12 01:56:06 +03:00
2023-08-14 17:50:50 +03:00
```

```
2023-07-12 01:56:06 +03:00
2023-08-14 17:50:50 +03:00
*Note: When refencing an image or file provide a file path starting with a slash (`/` ), and omit `static` .*