Skip to content
Snippets Groups Projects
Commit 8de1dfc8 authored by fontchas5's avatar fontchas5
Browse files

maj

parent 500d02d7
Branches
No related tags found
No related merge requests found
Showing
with 168 additions and 38 deletions
......@@ -12,7 +12,7 @@ Thanks to them <i class="fas fa-heart"></i> for making Open Source Software a be
And a special thanks to [@vjeantet](https://github.com/vjeantet) for his work on [docdock](https://github.com/vjeantet/hugo-theme-docdock), a fork of hugo-theme-learn. v2.0.0 of this theme is inspired by his work.
## Packages and libraries
* [mermaid](https://knsv.github.io/mermaid) - generation of diagram and flowchart from text in a similar manner as markdown
* [mermaid](https://mermaid-js.github.io/) - generation of diagram and flowchart from text in a similar manner as markdown
* [font awesome](http://fontawesome.io/) - the iconic font and CSS framework
* [jQuery](https://jquery.com) - The Write Less, Do More, JavaScript Library
* [lunr](https://lunrjs.com) - Lunr enables you to provide a great search experience without the need for external, server-side, search services...
......
......@@ -12,7 +12,7 @@ Merci à eux <i class="fas fa-heart"></i> de rendre le monde Open Source meilleu
Et un grand merci à [@vjeantet](https://github.com/vjeantet) pour son travail sur [docdock](https://github.com/vjeantet/hugo-theme-docdock), un fork de _hugo-theme-learn_. La v2.0.0 du thème est en grande partie inspirée de son travail.
## Packages et librairies
* [mermaid](https://knsv.github.io/mermaid) - géneration de diagrames et graphiques à partir de texte similaire à Markdown
* [mermaid](https://mermaid-js.github.io/) - géneration de diagrames et graphiques à partir de texte similaire à Markdown
* [font awesome](http://fontawesome.io/) - Le framework de polices iconiques
* [jQuery](https://jquery.com) - La plus connue des librairies Javascript
* [lunr](https://lunrjs.com) - Lunr fournit des fonctions de recherche sans service externe
......
This file was downloaded from Hugo Learn Theme.
......@@ -39,23 +39,23 @@ That's all!
|:--|:--|:--|
| title | "Attachments" | List's title |
| style | "" | Choose between "orange", "grey", "blue" and "green" for nice style |
| pattern | ".*" | A regular expressions, used to filter the attachments by file name. <br/><br/>The **pattern** parameter value must be [regular expressions](https://en.wikipedia.org/wiki/Regular_expression).
| pattern | ".*" | A regular expression, used to filter the attachments by file name. The **pattern** parameter value must be a [regular expression](https://en.wikipedia.org/wiki/Regular_expression). |
For example:
* To match a file suffix of 'jpg', use **.*jpg** (not *.jpg).
* To match file names ending in 'jpg' or 'png', use **.*(jpg|png)**
* To match a file suffix of '.jpg', use `.*\.jpg$` (not `*.jpg`).
* To match file names ending in '.jpg' or '.png', use `.*\.(jpg|png)$`.
### Examples
#### List of attachments ending in pdf or mp4
{{%/*attachments title="Related files" pattern=".*(pdf|mp4)"/*/%}}
{{%/*attachments title="Related files" pattern=".*\.(pdf|mp4)$"/*/%}}
renders as
{{%attachments title="Related files" pattern=".*(pdf|mp4)"/%}}
{{%attachments title="Related files" pattern=".*\.(pdf|mp4)$"/%}}
#### Colored styled box
......
Ce fichier a été téléchargé à partir du Hugo Learn Theme.
......@@ -39,23 +39,23 @@ C'est tout !
|:--|:--|:--|
| title | "Pièces jointes" | Titre de la liste |
| style | "" | Choisir entre "orange", "grey", "blue" et "green" pour un style plus sympa |
| pattern | ".*" | Une expression régulière, utilisée pour filtrer les pièces jointes par leur nom de fichier. <br/><br/>Le paramètre **pattern** doit être une [expression régulière](https://en.wikipedia.org/wiki/Regular_expression).
| pattern | ".*" | Une expression régulière, utilisée pour filtrer les pièces jointes par leur nom de fichier. Le paramètre **pattern** doit être une [expression régulière](https://en.wikipedia.org/wiki/Regular_expression). |
Par exemple:
* Pour trouver les fichiers avec le suffixe 'jpg', utilisez **.*jpg** (pas *.jpg).
* Pour trouver les fichiers avec les suffixe 'jpg' ou 'png', utilisez **.*(jpg|png)**
* Pour trouver les fichiers avec le suffixe '.jpg', utilisez `.*\.jpg$` (pas `*.jpg`).
* Pour trouver les fichiers avec les suffixe '.jpg' ou '.png', utilisez `.*\.(jpg|png)$`.
### Exemples
#### Lister les pièces jointes de type pdf ou mp4
{{%/*attachments title="Fichiers associés" pattern=".*(pdf|mp4)"/*/%}}
{{%/*attachments title="Fichiers associés" pattern=".*\.(pdf|mp4)$"/*/%}}
s'affiche comme
{{%attachments title="Fichiers associés" pattern=".*(pdf|mp4)"/%}}
{{%attachments title="Fichiers associés" pattern=".*\.(pdf|mp4)$"/%}}
#### Modifier le style
......
......@@ -25,5 +25,11 @@ other = "المزيد"
[Expand-title]
other = "...قم بتوسيع"
[BinaryPrefix-kilobyte]
other = "kb"
\ No newline at end of file
[Byte-symbol]
other = "B"
[Kilobyte-symbol]
other = "KB"
[Megabyte-symbol]
other = "MB"
......@@ -25,5 +25,11 @@ other = "Mehr"
[Expand-title]
other = "Erweitere mich..."
[BinaryPrefix-kilobyte]
other = "kb"
\ No newline at end of file
[Byte-symbol]
other = "B"
[Kilobyte-symbol]
other = "KB"
[Megabyte-symbol]
other = "MB"
......@@ -25,5 +25,11 @@ other = "More"
[Expand-title]
other = "Expand me..."
[BinaryPrefix-kilobyte]
other = "kb"
\ No newline at end of file
[Byte-symbol]
other = "B"
[Kilobyte-symbol]
other = "KB"
[Megabyte-symbol]
other = "MB"
......@@ -25,5 +25,11 @@ other = "Más"
[Expand-title]
other = "Expandir..."
[BinaryPrefix-kilobyte]
other = "kb"
[Byte-symbol]
other = "B"
[Kilobyte-symbol]
other = "KB"
[Megabyte-symbol]
other = "MB"
......@@ -25,5 +25,11 @@ other = "Aller plus loin"
[Expand-title]
other = "Déroulez-moi..."
[BinaryPrefix-kilobyte]
other = "ko"
\ No newline at end of file
[Byte-symbol]
other = "o"
[Kilobyte-symbol]
other = "ko"
[Megabyte-symbol]
other = "Mo"
......@@ -25,5 +25,11 @@ other = "अधिक सामग्री दिखाएं"
[Expand-title]
other = "विस्तार करे..."
[BinaryPrefix-kilobyte]
other = "kb"
[Byte-symbol]
other = "B"
[Kilobyte-symbol]
other = "KB"
[Megabyte-symbol]
other = "MB"
......@@ -25,5 +25,11 @@ other = "Lainnya"
[Expand-title]
other = "Bentangkan..."
[BinaryPrefix-kilobyte]
other = "kb"
[Byte-symbol]
other = "B"
[Kilobyte-symbol]
other = "KB"
[Megabyte-symbol]
other = "MB"
......@@ -25,5 +25,11 @@ other = "更に"
[Expand-title]
other = "開く..."
[BinaryPrefix-kilobyte]
other = "kb"
[Byte-symbol]
other = "B"
[Kilobyte-symbol]
other = "KB"
[Megabyte-symbol]
other = "MB"
......@@ -25,5 +25,11 @@ other = "Snelkoppelingen"
[Expand-title]
other = "Lees meer..."
[BinaryPrefix-kilobyte]
other = "kb"
[Byte-symbol]
other = "B"
[Kilobyte-symbol]
other = "KB"
[Megabyte-symbol]
other = "MB"
......@@ -25,5 +25,11 @@ other = "Mais"
[Expand-title]
other = "Expandir..."
[BinaryPrefix-kilobyte]
other = "kb"
[Byte-symbol]
other = "B"
[Kilobyte-symbol]
other = "KB"
[Megabyte-symbol]
other = "MB"
......@@ -25,5 +25,11 @@ other = "Еще"
[Expand-title]
other = "Развернуть..."
[BinaryPrefix-kilobyte]
other = "килобайт"
\ No newline at end of file
[Byte-symbol]
other = "Б"
[Kilobyte-symbol]
other = "КБ"
[Megabyte-symbol]
other = "МБ"
......@@ -25,5 +25,11 @@ other = "Dahası Var"
[Expand-title]
other = "Genişlet..."
[BinaryPrefix-kilobyte]
other = "kb"
[Byte-symbol]
other = "B"
[Kilobyte-symbol]
other = "KB"
[Megabyte-symbol]
other = "MB"
[Search-placeholder]
other = "Tìm kiếm..."
[Clear-History]
other = "Xóa lịch sử.."
[Attachments-label]
other = "Tập tin đính kèm"
[title-404]
other = "Lỗi"
[message-404]
other = "Tiếc quá! Có vẻ như trang này không tồn tại ¯\\_(ツ)_/¯."
[Go-to-homepage]
other = "Đi đến trang chủ"
[Edit-this-page]
other = "Chỉnh sửa trang này"
[Shortcuts-Title]
other = "Nội dung khác"
[Expand-title]
other = "Mở rộng..."
[BinaryPrefix-kilobyte]
other = "kb"
[Byte-symbol]
other = "B"
[Kilobyte-symbol]
other = "KB"
[Megabyte-symbol]
other = "MB"
[note]
other = "Ghi chú"
[info]
other = "Thông tin"
[tip]
other = "Mẹo vặt"
[warning]
other = "Cảnh báo"
......@@ -25,5 +25,11 @@ other = "更多"
[Expand-title]
other = "展开"
[BinaryPrefix-kilobyte]
other = "kb"
[Byte-symbol]
other = "B"
[Kilobyte-symbol]
other = "KB"
[Megabyte-symbol]
other = "MB"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment