Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Mohamed Hernouf
www
Commits
a5b85c5d
Commit
a5b85c5d
authored
Nov 04, 2021
by
Artemiy
Browse files
keep real tag name
parent
dea11196
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/blog.ml
src/blog.ml
+5
-0
No files found.
src/blog.ml
View file @
a5b85c5d
...
...
@@ -425,6 +425,11 @@ let given_tag tag =
article
.
tags
)
articles_by_date
in
let
tag
=
List
.
find
(
fun
t
->
String
.
equal
(
normalize_tag
t
)
tag
)
(
List
.
hd
articles_with_tag
)
.
tags
in
Format
.
asprintf
{
|<
h1
id
=
"page-title"
>
Articles
tagged
with
%
s
</
h1
>%
s
%
a
@.|
}
tag
links_to_home_pages
pp_blog_posts
articles_with_tag
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment