summaryrefslogtreecommitdiff
path: root/lib/views.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/views.ml')
-rw-r--r--lib/views.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/views.ml b/lib/views.ml
index 0fe9b86..6738cd3 100644
--- a/lib/views.ml
+++ b/lib/views.ml
@@ -54,6 +54,7 @@ module Page = struct
head []
[
title [] "%s" page_title;
+ meta [ name "viewport"; content "width=device-width, initial_scale=1" ];
link [ rel "stylesheet"; href "/static/styles.css" ];
link [ rel "icon"; type_ "image/x-icon"; href "/static/git_icon.svg" ];
]
@@ -80,8 +81,7 @@ let root () =
let repos =
Sys.readdir config.git_project_root
|> Array.to_list
- |> List.filter (fun name ->
- not (name.[0] = '.'))
+ |> List.filter (fun name -> not (name.[0] = '.'))
|> List.sort String.compare
in
let li_of_repo repo =
Copyright 2019--2025 Marius PETER