diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..51d4cee --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/archie"] + path = themes/archie + url = git@github.com:athul/archie.git diff --git a/.hugo_build.lock b/.hugo_build.lock new file mode 100644 index 0000000..e69de29 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/assets/css/custom.css b/assets/css/custom.css new file mode 100644 index 0000000..44042be --- /dev/null +++ b/assets/css/custom.css @@ -0,0 +1,41 @@ + +:root { + --maincolor: #8f2b9b !important; + --bordercl: #8f2b9b !important; + --callouctcolor: dodgerblue !important; + --hovercolor: #8f2b9b !important; + --darkMaincolor: #8f2b9b !important; + --bgcolor: #f0f0e5; +} + +html { + color: #232333; + font-family: 'Roboto Mono', monospace; + font-size: 15px; + line-height: 1.6em; + background: var(--bgcolor); +} + +a:hover { + background-color: var(--hovercolor); + color: var(--bgcolor) !important; +} + +/* list box */ +.list-item { + border: 1px solid var(--bordercl); + border-radius: 0.2em; + box-shadow: 5px 5px 7px #f1e9fd; + padding: 0 1.5em 1.5em 1.5em; + margin: 2em 0 2em 0; +} +.list-item .description { + padding: 1.75em; +} +.list-item .readmore { + display: inline-block; + margin: 0; + padding: 0.3em 0.8em; + border-radius: 3rem; +} + diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..fe9da7c --- /dev/null +++ b/hugo.toml @@ -0,0 +1,14 @@ +baseURL = 'https://example.org/' +languageCode = 'en-us' +title = 'Simone.dev' +theme = 'archie' + + +[params] +author = "Simone Di Maulo" +mode="toggle" # color-mode → light,dark,toggle or auto +useCDN=true # don't use CDNs for fonts and icons, instead serve them locally. +subtitle = "I like code, architecture and help developers work better" +mathjax = false # enable MathJax support +katex = false # enable KaTeX support +customcss = ["/css/custom.css"] diff --git a/themes/archie b/themes/archie new file mode 160000 index 0000000..d8819d5 --- /dev/null +++ b/themes/archie @@ -0,0 +1 @@ +Subproject commit d8819d5eee8b0817f41bda3a9dc2100cd6b2b0bd