git.iko.soy/gigawork-coworking/gigawork-coworking.github.io
on master help sign in
app/Shared.elm+13−1
since splitsnapshots
unifiedsplit
@@ -6,6 +6,7 @@ import Element exposing (..)
6import Element.Background as Background
6import Element.Background as Background
7import FatalError exposing (FatalError)
7import FatalError exposing (FatalError)
8import Html exposing (Html)
8import Html exposing (Html)
9+import Html.Attributes as Attributes
9import Pages.Flags
10import Pages.Flags
10import Pages.PageUrl exposing (PageUrl)
11import Pages.PageUrl exposing (PageUrl)
11import Route exposing (Route)
12import Route exposing (Route)
@@ -93,6 +94,17 @@ view :
93 -> View msg
94 -> View msg
94 -> { body : List (Html msg), title : String }
95 -> { body : List (Html msg), title : String }
95view sharedData page model toMsg pageView =
96view sharedData page model toMsg pageView =
97+ { body =
98+ [ Html.div []
99+ [ Html.img
100+ [ Attributes.src "https://mc.yandex.ru/watch/99382050"
101+ , Attributes.style "position" "absolute"
102+ , Attributes.style "left" "-9999px;"
103+ , Attributes.alt ""
104+ ]
105+ []
106+ ]
96− { body = [ layout [ Background.color (rgb255 243 243 243) ] pageView.body ]
107+ , layout [ Background.color (rgb255 243 243 243) ] pageView.body
108+ ]
97 , title = pageView.title
109 , title = pageView.title
98 }
110 }
elm-pages.config.mjs−3
@@ -8,7 +8,6 @@ export default {
8 return `
8 return `
9<link rel="stylesheet" href="/style.css" />
9<link rel="stylesheet" href="/style.css" />
10<meta name="generator" content="elm-pages v${context.cliVersion}" />
10<meta name="generator" content="elm-pages v${context.cliVersion}" />
11−<!-- Yandex.Metrika counter -->
12<script type="text/javascript" >
11<script type="text/javascript" >
13 (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
12 (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
14 m[i].l=1*new Date();
13 m[i].l=1*new Date();
@@ -23,8 +22,6 @@ export default {
23 webvisor:true
22 webvisor:true
24 });
23 });
25</script>
24</script>
26−<noscript><div><img src="https://mc.yandex.ru/watch/99382050" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
27−<!-- /Yandex.Metrika counter -->
28`;
25`;
29 },
26 },
30 preloadTagForFile(file) {
27 preloadTagForFile(file) {