-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
241 lines (240 loc) · 13 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
<!doctype html><html lang=en-us>
<head>
<meta charset=utf-8>
<meta name=viewport content="width=device-width,initial-scale=1">
<meta http-equiv=x-ua-compatible content="IE=edge">
<meta name=generator content="Wowchemy 5.4.0 for Hugo">
<link rel=preconnect href=https://fonts.gstatic.com crossorigin>
<link rel=preload as=style href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Roboto+Mono&family=Roboto:wght@400;700&display=swap">
<link rel=stylesheet href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Roboto+Mono&family=Roboto:wght@400;700&display=swap" media=print onload="this.media='all'">
<meta name=google-site-verification content="u34eeUp3MTMstO4_LAiR97c6jLYn3oAKz27AqTA5ZGE">
<meta name=author content="Orjan Ameye">
<meta name=description content="On this page you will find sources and small explenantion how I made this site.">
<link rel=alternate hreflang=en-us href=https://www.oameye.xyz/post/buildsite/>
<meta name=theme-color content="#4caf50">
<script src=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/js/mathjax-config.js></script>
<link rel=stylesheet href=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/css/vendor-bundle.min.f1ecf783c14edc00c9320c205831ad8e.css media=print onload="this.media='all'">
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/[email protected]/css/academicons.min.css integrity="sha512-W0xM4mr6dEP9nREo7Z9z+9X70wytKvMGeDsj7ps2+xg5QPrEBXC8tAW1IFnzjR6eoJ90JmCnFzerQJTLzIEHjA==" crossorigin=anonymous media=print onload="this.media='all'">
<link rel=stylesheet href=https://cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/styles/nord.min.css crossorigin=anonymous title=hl-light media=print onload="this.media='all'">
<link rel=stylesheet href=https://cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/styles/nord.min.css crossorigin=anonymous title=hl-dark media=print onload="this.media='all'" disabled>
<script src=https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js integrity crossorigin=anonymous async></script>
<link rel=stylesheet href=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/css/wowchemy.eb67b44909a29cd9e91eebe9e783177c.css>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-M8HXD8TC1K"></script>
<script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}function trackOutboundLink(a,b){gtag('event','click',{event_category:'outbound',event_label:a,transport_type:'beacon',event_callback:function(){b!=='_blank'&&(document.location=a)}}),console.debug("Outbound link clicked: "+a)}function onClickCallback(a){if(a.target.tagName!=='A'||a.target.host===window.location.host)return;trackOutboundLink(a.target,a.target.getAttribute('target'))}gtag('js',new Date),gtag('config','G-M8HXD8TC1K',{}),gtag('set',{cookie_flags:'SameSite=None;Secure'}),document.addEventListener('click',onClickCallback,!1)</script>
<link rel=manifest href=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/manifest.webmanifest>
<link rel=icon type=image/png href=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/media/icon_hu602ce00c64df696a8fc508a1a36adf94_21310_32x32_fill_lanczos_center_3.png>
<link rel=apple-touch-icon type=image/png href=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/media/icon_hu602ce00c64df696a8fc508a1a36adf94_21310_180x180_fill_lanczos_center_3.png>
<link rel=canonical href=https://www.oameye.xyz/post/buildsite/>
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:site" content="@OrjanAmeye">
<meta property="twitter:creator" content="@OrjanAmeye">
<meta property="og:site_name" content="Orjan Ameye">
<meta property="og:url" content="https://www.oameye.xyz/post/buildsite/">
<meta property="og:title" content="How I build this Site | Orjan Ameye">
<meta property="og:description" content="On this page you will find sources and small explenantion how I made this site."><meta property="og:image" content="https://www.oameye.xyz/media/sharing.jpg">
<meta property="twitter:image" content="https://www.oameye.xyz/media/sharing.jpg"><meta property="og:locale" content="en-us">
<meta property="article:published_time" content="2020-12-13T00:00:00+00:00">
<meta property="article:modified_time" content="2020-12-13T00:00:00+00:00">
<script type=application/ld+json>{"@context":"https://schema.org","@type":"BlogPosting","mainEntityOfPage":{"@type":"WebPage","@id":"https://www.oameye.xyz/post/buildsite/"},"headline":"How I build this Site","datePublished":"2020-12-13T00:00:00Z","dateModified":"2020-12-13T00:00:00Z","author":{"@type":"Person","name":"Orjan Ameye"},"publisher":{"@type":"Organization","name":"Orjan Ameye","logo":{"@type":"ImageObject","url":"https://www.oameye.xyz/media/icon_hu602ce00c64df696a8fc508a1a36adf94_21310_192x192_fill_lanczos_center_3.png"}},"description":"On this page you will find sources and small explenantion how I made this site."}</script>
<title>How I build this Site | Orjan Ameye</title>
</head>
<body id=top data-spy=scroll data-offset=70 data-target=#TableOfContents class=page-wrapper data-wc-page-id=61d49b13c854ed728c46b47fbad82090>
<script src=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/js/wowchemy-init.min.dff09253e40ffe282100440f62325070.js></script>
<aside class=search-modal id=search>
<div class=container>
<section class=search-header>
<div class="row no-gutters justify-content-between mb-3">
<div class=col-6>
<h1>Search</h1>
</div>
<div class="col-6 col-search-close">
<a class=js-search href=# aria-label=Close><i class="fas fa-times-circle text-muted" aria-hidden=true></i></a>
</div>
</div>
<div id=search-box>
<input name=q id=search-query placeholder=Search... autocapitalize=off autocomplete=off autocorrect=off spellcheck=false type=search class=form-control aria-label=Search...>
</div>
</section>
<section class=section-search-results>
<div id=search-hits>
</div>
</section>
</div>
</aside>
<div class=page-header>
<header class=header--fixed>
<nav class="navbar navbar-expand-lg navbar-light compensate-for-scrollbar" id=navbar-main>
<div class=container-xl>
<div class="d-none d-lg-inline-flex">
<a class=navbar-brand href=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/>Orjan Ameye</a>
</div>
<button type=button class=navbar-toggler data-toggle=collapse data-target=#navbar-content aria-controls=navbar-content aria-expanded=false aria-label="Toggle navigation">
<span><i class="fas fa-bars"></i></span>
</button>
<div class="navbar-brand-mobile-wrapper d-inline-flex d-lg-none">
<a class=navbar-brand href=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/>Orjan Ameye</a>
</div>
<div class="navbar-collapse main-menu-item collapse justify-content-start" id=navbar-content>
<ul class="navbar-nav d-md-inline-flex">
<li class=nav-item>
<a class=nav-link href=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/#about><span>Home</span></a>
</li>
<li class=nav-item>
<a class=nav-link href=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/#posts><span>Posts</span></a>
</li>
<li class=nav-item>
<a class=nav-link href=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/#contact><span>Contact</span></a>
</li>
</ul>
</div>
<ul class="nav-icons navbar-nav flex-row ml-auto d-flex pl-md-2">
</ul>
</div>
</nav>
</header>
</div>
<div class=page-body>
<article class=article>
<div class="article-container pt-3">
<h1>How I build this Site</h1>
<p class=page-subtitle>On this page you will find sources and small explenantion how I made this site.</p>
<div class=article-metadata>
<div>
<span class=author-highlighted>
Orjan Ameye</span>
</div>
<span class=article-date>
Dec 13, 2020
</span>
<span class=middot-divider></span>
<span class=article-categories>
<i class="fas fa-folder mr-1"></i><a href=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/category/website/>Website</a></span>
</div>
</div>
<div class=article-container>
<div class=article-style>
<details class="toc-inpage d-print-none" open>
<summary class=font-weight-bold>Table of Contents</summary>
<nav id=TableOfContents>
<ul>
<li><a href=#prerequirements>Prerequirements</a></li>
<li><a href=#setup>Setup</a></li>
<li><a href=#make-page>Make page</a></li>
<li><a href=#google-analytics>Google Analytics</a></li>
<li><a href=#code-highlighting>Code Highlighting</a></li>
<li><a href=#jupyter-notebook>Jupyter Notebook</a></li>
</ul>
</nav>
</details>
<h2 id=prerequirements>Prerequirements</h2>
<ul>
<li><code>git</code> and Github account</li>
<li><code>Hugo</code></li>
<li>(<code>R</code>, RStudio and Blogdown)</li>
</ul>
<h2 id=setup>Setup</h2>
<ul>
<li><a href=https://www.netlify.com/ target=_blank rel=noopener>Netfly</a>
<div style=position:relative;padding-bottom:56.25%;height:0;overflow:hidden>
<iframe src=https://www.youtube.com/embed/LIFvgrRxdt4 style=position:absolute;top:0;left:0;width:100%;height:100%;border:0 allowfullscreen title="YouTube Video"></iframe>
</div>
</li>
</ul>
<h2 id=make-page>Make page</h2>
<p><a href=https://wowchemy.com/docs/content/writing-markdown-latex/ target=_blank rel=noopener>Page Elements: Writing content with Markdown, LaTeX, and Shortcodes</a></p>
<h2 id=google-analytics>Google Analytics</h2>
<pre><code class=language-YAML>google_analytics: '3345897419'
</code></pre>
<p>stream id not measurement id</p>
<h2 id=code-highlighting>Code Highlighting</h2>
<p>highlight.js:</p>
<ul>
<li><a href=https://cdnjs.com/libraries/highlight.js target=_blank rel=noopener>program languages</a></li>
<li><a href=https://highlightjs.org/static/demo/ target=_blank rel=noopener>styles</a></li>
</ul>
<h2 id=jupyter-notebook>Jupyter Notebook</h2>
<pre><code class=language-julia>using Pimc
function test(a::Int64, b::Int64)
if a == 1
return true
else
return false
end
end
</code></pre>
<iframe src=./JupyterColorstyle.html width=100% height=500px style=border:none></iframe>
</div>
<div class=article-tags>
<a class="badge badge-light" href=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/tag/website/>Website</a>
</div>
</div>
</article>
</div>
<div class=page-footer>
<div class=container>
<footer class=site-footer>
<p class="powered-by copyright-license-text">
© 2022 Me. This work is licensed under <a href=https://creativecommons.org/licenses/by-nc-nd/4.0 rel="noopener noreferrer" target=_blank>CC BY NC ND 4.0</a>
</p>
<p class="powered-by footer-license-icons">
<a href=https://creativecommons.org/licenses/by-nc-nd/4.0 rel="noopener noreferrer" target=_blank aria-label="Creative Commons">
<i class="fab fa-creative-commons fa-2x" aria-hidden=true></i>
<i class="fab fa-creative-commons-by fa-2x" aria-hidden=true></i>
<i class="fab fa-creative-commons-nc fa-2x" aria-hidden=true></i>
<i class="fab fa-creative-commons-nd fa-2x" aria-hidden=true></i>
</a>
</p>
</footer>
</div>
</div>
<script src=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/js/vendor-bundle.min.b73dfaac3b6499dc997741748a7c3fe2.js></script>
<script src=https://cdn.jsdelivr.net/gh/desandro/[email protected]/imagesloaded.pkgd.min.js integrity="sha512-S5PZ9GxJZO16tT9r3WJp/Safn31eu8uWrzglMahDT4dsmgqWonRY9grk3j+3tfuPr9WJNsfooOR7Gi7HL5W2jw==" crossorigin=anonymous></script>
<script src=https://cdn.jsdelivr.net/gh/metafizzy/[email protected]/dist/isotope.pkgd.min.js integrity="sha512-Zq2BOxyhvnRFXu0+WE6ojpZLOU2jdnqbrM1hmVdGzyeCa1DgM3X5Q4A/Is9xA1IkbUeDd7755dNNI/PzSf2Pew==" crossorigin=anonymous></script>
<script src=https://cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/highlight.min.js integrity="sha512-Ypjm0o7jOxAd4hpdoppSEN0TQOC19UtPAqD+4s5AlXmUvbmmS/YMxYqAqarQYyxTnB6/rqip9qcxlNB/3U9Wdg==" crossorigin=anonymous></script>
<script src=https://cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/languages/julia.min.js crossorigin=anonymous></script>
<script async defer src="https://maps.googleapis.com/maps/api/js?key="></script>
<script src=https://cdn.jsdelivr.net/gh/hpneo/[email protected]/gmaps.min.js integrity="sha512-gauu0VKZq9ry8hOZHgNpcB2ogbSDojs+XLDItpOLY0IyA+KigeuT/suwSdPgfU/TGYLAn4Nan4OeaCa/UPr70Q==" crossorigin=anonymous></script>
<script id=search-hit-fuse-template type=text/x-template>
<div class="search-hit" id="summary-{{key}}">
<div class="search-hit-content">
<div class="search-hit-name">
<a href="{{relpermalink}}">{{title}}</a>
<div class="article-metadata search-hit-type">{{type}}</div>
<p class="search-hit-description">{{snippet}}</p>
</div>
</div>
</div>
</script>
<script src=https://cdn.jsdelivr.net/gh/krisk/[email protected]/dist/fuse.min.js integrity="sha512-o38bmzBGX+hD3JHWUFCDA09btWaqrNmoJ3RXLlrysA7PP01Kgs4UlE4MhelE1v5dJR3+cxlR4qQlotsW7jKsnw==" crossorigin=anonymous></script>
<script src=https://cdn.jsdelivr.net/gh/julmot/[email protected]/dist/jquery.mark.min.js integrity="sha512-mhbv5DqBMgrWL+32MmsDOt/OAvqr/cHimk6B8y/bx/xS88MVkYGPiVv2ixKVrkywF2qHplNRUvFsAHUdxZ3Krg==" crossorigin=anonymous></script>
<script id=page-data type=application/json>{"use_headroom":true}</script>
<script src=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/js/wowchemy-headroom.79343bd00de25e04f03b6af2819f8643.js type=module></script>
<script src=/en/js/wowchemy.min.8d4d8153892cfbab558385d33f14509c.js></script>
<script src=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/js/wowchemy-map.a26e9d2f7238ba5b868384f1c5bc6477.js type=module></script>
<div id=modal class="modal fade" role=dialog>
<div class=modal-dialog>
<div class=modal-content>
<div class=modal-header>
<h5 class=modal-title>Cite</h5>
<button type=button class=close data-dismiss=modal aria-label=Close>
<span aria-hidden=true>×</span>
</button>
</div>
<div class=modal-body>
<pre><code class="tex hljs"></code></pre>
</div>
<div class=modal-footer>
<a class="btn btn-outline-primary my-1 js-copy-cite" href=# target=_blank>
<i class="fas fa-copy"></i> Copy
</a>
<a class="btn btn-outline-primary my-1 js-download-cite" href=# target=_blank>
<i class="fas fa-download"></i> Download
</a>
<div id=modal-error></div>
</div>
</div>
</div>
</div>
<script src=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/js/wowchemy-publication.ee00aa4e09ee62617fe2dc15bfcb3f7b.js type=module></script>
</body>
</html>