commit f6ddb457a6bb2cc1f4e46f76dbc88f113d72b75a Author: aethrvmn Date: Wed Aug 28 02:06:37 2024 +0300 Update site and move to sr.ht diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..c6f3fce --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,5 @@ ++++ +title = '{{ replace .File.ContentBaseName "-" " " | title }}' +date = {{ .Date }} +draft = true ++++ diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..2224b2c --- /dev/null +++ b/content/_index.md @@ -0,0 +1,19 @@ +--- +title: home +description: "The personal writings and expressions of Grayfox, otherwise known as you too and everyone else. It is a loving and silly place." +--- +My face + +## vasilis valatsos (βασίλης βαλατσός) + +### machine learning | reinforcement learning | natural languages + +I am interested in the world in all of it's offerings; when I am not exploring man made constructs, like logic, physics, and most recently ai, I like to think about the ways we occupy space. + +m.sc. in mathematics (statistics and data science),
+university of turin,
+[m-thesis](/pdf/mthesis.pdf): implemented ppo in a custom environment named pneuma + diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..fe000fd --- /dev/null +++ b/hugo.toml @@ -0,0 +1,51 @@ +baseurl = "https://www.valatsos.gr" +enableEmoji = true +footnotereturnlinkcontents = "↩" +ignoreFiles = ["\\.Rmd$", "_files$", "_cache$"] +languageCode = "en-us" +title = "valatsos" + +[markup.goldmark.renderer] +unsafe = true + +[markup.highlight] +anchorLineNos = false +codeFences = true +guessSyntax = false +hl_Lines = "" +lineAnchors = "" +lineNoStart = 1 +lineNos = false +lineNumbersInTable = true +noClasses = true +style = "monokai" +tabWidth = 4 + +[permalinks] +post = "/post/:year/:month/:day/:slug/" + +[[menu.main]] +name = "life" +url = "/life/" +weight = 2 + +[[menu.main]] +name = "apotheke" +url = "https://apotheke.earth" +weight = 3 + +[[menu.main]] +name = "cv" +url = "/pdf/CV.pdf" +weight = 4 + +[[menu.feed]] +name = "contact" +url = "mailto:valatsosvasilis@gmail.com" + +[params] +custom_css = ["css/theme-override.css"] +description = "A simple, minimal website, based on the hugo-classic theme." +footer = """ +[github/aethrvmn](https://github.com/aethrvmn) | [sr.ht:~aethrvmn](https://git.sr.ht/~aethrvmn) | [@aethrvmn@sigmoid.social](https://sigmoid.social/@aethrvmn) | [t.me/aethrvmn](https://t.me/aethrvmn) +""" diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..bd93017 --- /dev/null +++ b/layouts/404.html @@ -0,0 +1,5 @@ +{{ partial "header.html" . }} + +404 - You once were found. But now you're lost. + +{{ partial "footer.html" . }} diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html new file mode 100644 index 0000000..006713b --- /dev/null +++ b/layouts/_default/_markup/render-link.html @@ -0,0 +1 @@ +{{ .Text | safeHTML }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..0ee6442 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,21 @@ +{{ partial "header.html" . }} + +
+{{if not .IsHome }} +

{{ .Title | markdownify }}

+ {{ end }} + + {{ .Content }} + + +
+{{ partial "footer.html" . }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..04688e0 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,30 @@ +{{ partial "header.html" . }} +
+

{{ .Title | markdownify }}

+{{ with .Params.author }}

{{ . }}

{{ end }} +{{ if .Params.date }}

{{ .Date.Format "2006/01/02" }}

{{ end }} +

+ {{ range $i := (slice "categories" "tags") }} + {{ with ($.Param $i) }} + {{ $i | title }}: {{ range $k := . }}{{$k}} {{ end }} + {{ end }} + {{ end }} +

+
+ +{{ if .Params.toc }} + {{ with .TableOfContents }} +
+

Table of Contents

+ {{ . | safeHTML }} +
+ {{ end }} +{{ end }} + +
+
+ {{ .Content }} + >> Home +
+
+{{ partial "footer.html" . }} diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html new file mode 100644 index 0000000..1b515a5 --- /dev/null +++ b/layouts/_default/terms.html @@ -0,0 +1,13 @@ +{{ partial "header.html" . }} + +

{{ .Title }}

+ + + +{{ partial "footer.html" . }} diff --git a/layouts/partials/foot_custom.html b/layouts/partials/foot_custom.html new file mode 100644 index 0000000..3e53c76 --- /dev/null +++ b/layouts/partials/foot_custom.html @@ -0,0 +1 @@ + diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..494ce73 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,35 @@ + + + diff --git a/layouts/partials/head_custom.html b/layouts/partials/head_custom.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..43eb4c1 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,48 @@ + + + + + + + + + + + + + {{ .Title }} | {{ .Site.Title }} + + + {{ range .Site.Params.custom_css -}} + + {{- end }} + {{ partial "head_custom.html" . }} + + + +
+ +
+ diff --git a/layouts/robots.txt b/layouts/robots.txt new file mode 100644 index 0000000..2a87967 --- /dev/null +++ b/layouts/robots.txt @@ -0,0 +1,4 @@ +# robots.txt +User-agent: * +Disallow: +Disallow: /cgi-bin/ \ No newline at end of file diff --git a/static/css/fonts.css b/static/css/fonts.css new file mode 100644 index 0000000..761b18c --- /dev/null +++ b/static/css/fonts.css @@ -0,0 +1,34 @@ +@import url('https://fonts.googleapis.com/css2?family=GFS+Didot&display=swap'); + +html { + font-family: + 'GFS Didot', + sans-serif, + 'Apple Color Emoji', + 'Segoe UI Emoji', + 'Segoe UI Symbol'; +} + +@supports (font-variation-settings: normal) { + html { font-family: + 'GFS Didot', + sans-serif, + 'Apple Color Emoji', + 'Segoe UI Emoji', + 'Segoe UI Symbol'; + } +} + +code { + font-family: + -apple-system, + BlinkMacSystemFont, + "Segoe UI", + Helvetica, + Arial, + sans-serif, + "Apple Color Emoji", + "Segoe UI Emoji", + "Segoe UI Symbol"; + font-size: 85%; +} diff --git a/static/css/style.css b/static/css/style.css new file mode 100644 index 0000000..81d0027 --- /dev/null +++ b/static/css/style.css @@ -0,0 +1,239 @@ +/* Dark mode */ +@media (prefers-color-scheme: dark) { + body { + background-color: #2d2a2e; + color: #f7f6f3; + } + + blockquote { + background: #2d2a2e; + } + + a { + color: #ac9c6d; + } + + header { + background: #2d2a2e; + border-bottom: 2px dotted #EBC3DB; + + } + + .article-meta, .menu a { + background: #393E41; + color: white; + } + + table { + margin: auto; + border-top: 1px solid #666; + border-bottom: 1px solid #666; + } + table thead th { border-bottom: 1px solid #666; } + th, td { padding: 5px; } + tr:nth-child(even) { background: #666 } + +} + + +/* Light mode */ +@media (prefers-color-scheme: light) { + blockquote { + background: #f9f9f9; + } + + a { + color: #613DC1; + } + + header { + background: #613DC1; + } + + .article-meta, .menu a { + background: #E8DBC5; + color: #000; + } + + table { + margin: auto; + border-top: 1px solid #666; + border-bottom: 1px solid #666; + } + table thead th { border-bottom: 1px solid #ddd; } + th, td { padding: 5px; } + tr:nth-child(even) { background: #eee } + +} + + +body { + max-width: 800px; + margin: auto; + padding: .2em; + line-height: 1.5em; +} + +h1 { + line-height: 1.5em; +} + +/* Table of Contents, if wanted + +Add to yaml: + +output: + blogdown::html_page: + toc: true + + */ + +#TableOfContents, #TOC { + border: 1px solid #eee; + border-radius: 5px; +} + +/* Header and Footer */ +.menu li { display: inline-block; } +.article-meta, .menu a { + text-decoration: none; + padding: 5px; + border-radius: 5px; + border-style: dotted; + border-width: 1px; + margin: 20px 0px 20px 0px; +} + +.terms { font-size: .9em; } +.menu, .article-meta, footer { text-align: center; } +.title { font-size: 1.1em; } +footer a { text-decoration: none; } + +.pull-left { + float: left +} +.pull-right { + float: right +} + +a { + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +/* Adjust background at your leisure! */ +header { + position: relative; + width: 100%; + height: 1.75rem; + font-size: 1rem; +} + +header ul, +header ol { + margin: 0; + padding: 0; + list-style: none +} +header nav { + padding: 0 0.5rem +} + +header a { + color: #fff; + line-height: 1.75rem; + padding: 0 0.5rem +} +header a:hover, +header .current a { + color: #fff +} + +/* Code Boxes */ +pre { + border: 2px solid #EBC3DB; + padding: 1em; + overflow-x: auto; +} +pre code { background: none; } + +code { + background-color: light-dark(#D6D6D6, #888); + border-radius: 3px; + padding: 0.2em; + overflow-x: auto; +} + +/* Images, tables, misc. */ +img, iframe, video { + max-width: 100%; + height: auto; + display: block; + margin-left: auto; + margin-right: auto; +} + +main { + hyphens: auto; + max-width: 650px; + margin-left: auto; + margin-right: auto; + line-height: 1.7em; + hyphens: auto; + display: block; + font-size: 1.1em; +} +main a { + font-weight: bold; +} + +blockquote { + border-left: 5px solid #ccc; + padding: 3px 1em 3px; +} + +.content-wrapper { + padding: 0px 12px 0px 12px; +} + +#personal { + min-width: 40px; + max-width: 200px; + float: right; + padding: 10px; + display: block; +} + +#table-of-contents { +} + +/* Small devices, phones */ +@media only screen and (min-width : 480px) { + #foxy { + min-width: 40px; + float: center; + padding: 10px 10px 10px 20px; + display: block; + } + +} + +/* 在大屏幕上应用特定样式 */ +@media screen and (min-width: 768px) { + #table-of-contents { + position: fixed; /* 固定定位,使其悬浮在页面上 */ + top: 50%; /* 上边距为50% */ + right: 15px; /* 右边距为0,将其放在右侧 */ + transform: translateY(-50%); /* 使用transform来垂直居中 */ + background-color: #f0f0f0; /* 设置背景颜色 */ + padding: 10px; /* 添加一些内边距以增加可读性 */ + box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2); /* 添加阴影效果 */ + width: 250px; /* 设置宽度 */ + max-height: 70vh; /* 设置最大高度为视口的70% */ + overflow-y: auto; /* 添加垂直滚动条 */ + } +} + diff --git a/static/css/theme-override.css b/static/css/theme-override.css new file mode 100644 index 0000000..fab8cf2 --- /dev/null +++ b/static/css/theme-override.css @@ -0,0 +1,5 @@ +footer { font-size: 90%; } + +ul { + list-style-type: none; +} diff --git a/static/images/android-chrome-192x192.png b/static/images/android-chrome-192x192.png new file mode 100644 index 0000000..4bf78af Binary files /dev/null and b/static/images/android-chrome-192x192.png differ diff --git a/static/images/android-chrome-512x512.png b/static/images/android-chrome-512x512.png new file mode 100644 index 0000000..8bf4499 Binary files /dev/null and b/static/images/android-chrome-512x512.png differ diff --git a/static/images/apple-touch-icon.png b/static/images/apple-touch-icon.png new file mode 100644 index 0000000..c5870fa Binary files /dev/null and b/static/images/apple-touch-icon.png differ diff --git a/static/images/favicon-16x16.png b/static/images/favicon-16x16.png new file mode 100644 index 0000000..5444143 Binary files /dev/null and b/static/images/favicon-16x16.png differ diff --git a/static/images/favicon-32x32.png b/static/images/favicon-32x32.png new file mode 100644 index 0000000..257696f Binary files /dev/null and b/static/images/favicon-32x32.png differ diff --git a/static/images/favicon.ico b/static/images/favicon.ico new file mode 100644 index 0000000..83ec83e Binary files /dev/null and b/static/images/favicon.ico differ diff --git a/static/images/me.jpg b/static/images/me.jpg new file mode 100644 index 0000000..2aecad0 Binary files /dev/null and b/static/images/me.jpg differ diff --git a/static/images/partywizard.gif b/static/images/partywizard.gif new file mode 100644 index 0000000..1c1d813 Binary files /dev/null and b/static/images/partywizard.gif differ diff --git a/static/images/screenshot.png b/static/images/screenshot.png new file mode 100644 index 0000000..0dc8a8c Binary files /dev/null and b/static/images/screenshot.png differ diff --git a/static/images/tn.png b/static/images/tn.png new file mode 100644 index 0000000..f58c780 Binary files /dev/null and b/static/images/tn.png differ diff --git a/static/pdf/bthesis.pdf b/static/pdf/bthesis.pdf new file mode 100644 index 0000000..696a5c2 Binary files /dev/null and b/static/pdf/bthesis.pdf differ diff --git a/static/pdf/cv.pdf b/static/pdf/cv.pdf new file mode 100644 index 0000000..ad61a95 Binary files /dev/null and b/static/pdf/cv.pdf differ diff --git a/static/pdf/mthesis.pdf b/static/pdf/mthesis.pdf new file mode 100644 index 0000000..f356d9e Binary files /dev/null and b/static/pdf/mthesis.pdf differ