Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
n.karnaukhov committed May 11, 2024
1 parent 8eb9c7b commit be16078
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.idea
public
resources
.hugo_build.lock
5 changes: 5 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
draft = true
+++
5 changes: 5 additions & 0 deletions assets/scss/index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
html, body {
margin: 0;
padding: 0;
font-family: system-ui, sans-serif;
}
1 change: 1 addition & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# INDEX
3 changes: 3 additions & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
baseURL = 'https://mrelectronick.github.io/'
languageCode = 'en-us'
title = 'Mr.ElectroNick site'
1 change: 1 addition & 0 deletions index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Hi
16 changes: 16 additions & 0 deletions layouts/_default/home.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
{{ $opts := dict "transpiler" "dartsass" "targetPath" "css/style.css" }}
{{ with resources.Get "scss/index.scss" | toCSS $opts | minify | fingerprint }}
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
{{ end }}
</head>
<body>

{{ .Content }}

</body>
</html>

0 comments on commit be16078

Please sign in to comment.