gabrielgio.me @ 12e8802cd9829580275027533ce898e484d003d1

feat: Add log for gitlab pages

Just a small explanation how to publish lein cljs into Gitlab pages.
 1diff --git a/content/logs/2020-08-22-genpass.org b/content/logs/2020-08-22-genpass.org
 2new file mode 100644
 3index 0000000000000000000000000000000000000000..595295f09428d214916fa6b36f8974c56bbca898
 4--- /dev/null
 5+++ b/content/logs/2020-08-22-genpass.org
 6@@ -0,0 +1,35 @@
 7+---
 8+title:  "Moveing from github to gitlab pages"
 9+date:   2020-09-22
10+tags: ['gitlab']
11+---
12+
13+This was quite simple, I had just to create a simple Gitlab pipeline job and
14+publish to pages this is done by:
15+
16+#+BEGIN_SRC
17+image: clojure:lein-2.7.0
18+
19+before_script:
20+  - lein deps
21+
22+test:
23+  script:
24+    - lein test
25+
26+pages:
27+  stage: deploy
28+  script:
29+    - lein package
30+  artifacts:
31+    paths:
32+      - public
33+  only:
34+    - master
35+
36+#+END_SRC
37+
38+- before_script :: will download all the dependencies with ~lein deps~.
39+- test :: is self explanatory.
40+- pages :: will compile the cljs into js with ~lein package~ and publish it into
41+  pages.
42diff --git a/themes/flamingo/layouts/_default/baseof.html b/themes/flamingo/layouts/_default/baseof.html
43index 095a2e5a367234dc9c7bd071b1b11d4050c2eeb8..f2282810611daaea1855b344cef97799c3c31d92 100644
44--- a/themes/flamingo/layouts/_default/baseof.html
45+++ b/themes/flamingo/layouts/_default/baseof.html
46@@ -15,11 +15,7 @@         {{ $styles := resources.Get "scss/main.scss" | resources.ToCSS | minify | fingerprint}}
47         <link rel="stylesheet" href="{{ $styles.RelPermalink }}" media="screen">
48         <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
49 
50-        {{ with .OutputFormats.Get "RSS" -}}
51-        {{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
52-        {{- end }}
53 
54-        <!-- Meta tags -->
55         {{ partial "meta" . }}
56     </head>
57     <body>