Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
Theme
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
osuny
Theme
Commits
6f85d019
Unverified
Commit
6f85d019
authored
1 year ago
by
Arnaud Levy
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #144 from noesya/reading-time
Ajout du temps de lecture
parents
5806e239
a6a54d04
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
i18n/en.yml
+1
-0
1 addition, 0 deletions
i18n/en.yml
i18n/fr.yml
+1
-0
1 addition, 0 deletions
i18n/fr.yml
layouts/partials/posts/post-infos.html
+6
-0
6 additions, 0 deletions
layouts/partials/posts/post-infos.html
with
8 additions
and
0 deletions
i18n/en.yml
+
1
−
0
View file @
6f85d019
...
...
@@ -186,6 +186,7 @@ posts:
next_aria
:
Next article “{{ .Title }}”
previous
:
Previous article
previous_aria
:
revious article “{{ .Title }}”
reading_time
:
Reading time
see_all
:
See all posts
see_all_in_program
:
See all program's news
see_all_in_category
:
See all news in “{{ .Title }}”
...
...
This diff is collapsed.
Click to expand it.
i18n/fr.yml
+
1
−
0
View file @
6f85d019
...
...
@@ -187,6 +187,7 @@ posts:
next_aria
:
Article suivant “{{ .Title }}”
previous
:
Article précédent
previous_aria
:
Article précédent “{{ .Title }}”
reading_time
:
Temps de lecture
see_all
:
Voir toutes les actualités
see_all_in_program
:
Voir toutes les actualités de la formation
see_all_in_category
:
Voir toutes les actualités “{{ .Title }}”
...
...
This diff is collapsed.
Click to expand it.
layouts/partials/posts/post-infos.html
+
6
−
0
View file @
6f85d019
...
...
@@ -23,6 +23,12 @@
</a>
</li>
{{ end }}
{{ with .Params.contents_reading_time }}
<li>
<span>
{{ i18n "posts.reading_time" }}
</span>
{{ .text }}
</li>
{{ end }}
<li>
<span>
{{ i18n "posts.share" }}
</span>
{{ partial "commons/share.html" . }}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment