diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..87174b6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/public/ diff --git a/config.toml b/config.toml index 429ec30..dc11cc8 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,30 @@ baseURL = "https://sqrtminusone.xyz/" languageCode = "en-us" -title = "sqrtminusone.xyz" +title = "SqrtMinusOne" theme = "researcher" +staticDir = ["static"] + +[params] + author = "SqrtMinusOne" + description = "Freedom is a state of mind" + favicon = "favicon.ico" # path to a .ico to use as favicon + # logo = "logo.svg" + [params.footer] + text = "Pavel Korytov, 2021" + +[permalinks] + "/" = "/:filename" + +[menu] + [[menu.main]] + name = "Index" + url = "/" + weight = 1 + [[menu.main]] + name = "Posts" + url = "/posts/" + weight = 1 + + +[markup.goldmark.renderer] + unsafe = true # allow raw HTML in markdown files \ No newline at end of file diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..50e2fe4 --- /dev/null +++ b/content/_index.md @@ -0,0 +1,15 @@ ++++ +title = "Index" ++++ + +## About +{{< figure class="avatar" src="/logo_sq.png" >}} + +**Pavel Korytov** + +Master's student of Saint-Petersurg State Electrotechical University, Russia at Software Engineering. + +### Links +* [e-mail](mailto:thexcloud@gmail.com) +* [GitHub](https://github.com/SqrtMinusOne) +* [VK](https://vk.com/sqrtminusone) diff --git a/content/posts/hello-world.md b/content/posts/hello-world.md new file mode 100644 index 0000000..45baf4c --- /dev/null +++ b/content/posts/hello-world.md @@ -0,0 +1,20 @@ ++++ +title = "Hello, world!" +author = ["Pavel"] +date = 2020-02-01 +draft = false ++++ + +## Hello, world! {#hello-world} + +Eventually, there will be something interesting here. Or not. + +Regradless, I'll check if I can write some Python here + +```python +print("Hello, world") +``` + +```text +Hello, world +``` diff --git a/org/2021/hello-world.org b/org/2021/hello-world.org new file mode 100644 index 0000000..fd655b2 --- /dev/null +++ b/org/2021/hello-world.org @@ -0,0 +1,25 @@ +#+HUGO_SECTION: posts +#+HUGO_BASE_DIR: ../.. +#+TITLE: Hello, world! +#+DATE: 2020-02-01 +#+PROPERTY: header-args:python :session *123* +#+PROPERTY: header-args:python+ :exports both +#+PROPERTY: header-args:python+ :tangle yes +#+PROPERTY: header-args:python+ :async yes + +#+begin_src elisp :exports none +(setq-local org-image-actual-width '(1024)) +(setq-local org-html-htmlize-output-type 'css) +(setq-local org-latex-listings 'minted) +#+end_src + +* Hello, world! +Eventually, there will be something interesting here. Or not. + +Regradless, I'll check if I can write some Python here +#+begin_src python +print("Hello, world") +#+end_src + +#+RESULTS: +: Hello, world diff --git a/resources/_gen/assets/scss/sass/researcher.scss_81ad576498767608ce504b3564784665.content b/resources/_gen/assets/scss/sass/researcher.scss_81ad576498767608ce504b3564784665.content new file mode 100644 index 0000000..d96b5a9 --- /dev/null +++ b/resources/_gen/assets/scss/sass/researcher.scss_81ad576498767608ce504b3564784665.content @@ -0,0 +1 @@ +#content a,.nav-link{color:#dc3545;text-decoration:none}#content a *,.nav-link *{color:#dc3545}#content a:hover,.nav-link:hover{color:#dc3545;text-decoration:underline}#footer a,.navbar-brand{color:#222;text-decoration:none}#footer a *,.navbar-brand *{color:#222}#footer a:hover,.navbar-brand:hover{color:#222;text-decoration:underline}#content table td,#content table th{border:1px solid #ccc;padding:6px 12px;text-align:left}*{color:#222;font-family:Inconsolata;line-height:1.2}.container{max-width:750px}.navbar-brand{font-size:2rem}#content p{margin-bottom:.6rem}#content h1,#content h2,#content h3,#content h4,#content h5,#content h6{font-size:medium;font-weight:700;margin:1rem 0 .6rem}#content h1{font-size:1.8rem}#content h2{font-size:1.6rem}#content h3{font-size:1.4rem}#content h4{font-size:1.2rem}#content img{display:block;margin:1rem auto;max-width:100%}#content .avatar>img{border-radius:50%;float:right;margin:-8px 0 0 16px;height:90px;width:90px}#content ol{counter-reset:list;list-style:none;padding-left:2rem}#content ol>li:before{content:"[" counter(list,decimal)"] ";counter-increment:list}#content .container>ol,#content .footnotes>ol{padding-left:0}#content ul{list-style:inside;padding-left:2rem}#content .container>ul,#content .footnotes>ul{padding-left:0}#content table{margin:1rem auto;width:100%}#content table th{font-weight:700}#content table tr:nth-child(2n){background-color:#f8f8f8}#content blockquote{border-left:4px solid;font-style:italic;margin:1rem 0;padding:8px}#content code{color:#222;background-color:#f8f8f8;border:1px solid #ccc;border-radius:10%;padding:0 4px}#content pre code{all:unset}#content .highlight{margin:1rem auto}#content .highlight>pre{padding:8px} \ No newline at end of file diff --git a/resources/_gen/assets/scss/sass/researcher.scss_81ad576498767608ce504b3564784665.json b/resources/_gen/assets/scss/sass/researcher.scss_81ad576498767608ce504b3564784665.json new file mode 100644 index 0000000..30a9eb6 --- /dev/null +++ b/resources/_gen/assets/scss/sass/researcher.scss_81ad576498767608ce504b3564784665.json @@ -0,0 +1 @@ +{"Target":"sass/researcher.min.css","MediaType":"text/css","Data":{}} \ No newline at end of file diff --git a/static/favicon.ico b/static/favicon.ico new file mode 100644 index 0000000..9604b47 Binary files /dev/null and b/static/favicon.ico differ diff --git a/static/logo.svg b/static/logo.svg new file mode 100644 index 0000000..1f5adf6 --- /dev/null +++ b/static/logo.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/static/logo_sq.png b/static/logo_sq.png new file mode 100644 index 0000000..7efea77 Binary files /dev/null and b/static/logo_sq.png differ