This commit is contained in:
athul 2020-04-11 12:29:56 +05:30
parent c2987bd016
commit a0fb0664ae
5 changed files with 46 additions and 82 deletions

View file

@ -1,27 +0,0 @@
name: github pages
on:
push:
branches:
- site
jobs:
build-deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@master
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2.2.0
with:
hugo-version: '0.58.3'
- name: Build
run: hugo --gc --minify --cleanDestinationDir
- name: Deploy
uses: peaceiris/actions-gh-pages@v2.4.0
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./public

View file

@ -1,12 +1,26 @@
baseURL = "http://example.org/" baseURL = "https://athul.github.io/archie/"
languageCode = "en-us" languageCode = "en-us"
title = "Archie" title = "Archie"
theme="archie" theme="archie"
copyright = "© Athul"
pygmentsstyle = "monokai"
pygmentscodefences = true
pygmentscodefencesguesssyntax = true
[params] [params]
subtitle = "Minimal and Crisp blog theme for hugo [blog theme for Hugo](https://github.com/vividvilla/ezhil)" featherIconsCDN=true
subtitle = "Minimal and Clean [blog theme for Hugo](https://github.com/athul/archie)"
[[params.social]] [[params.social]]
name = "Github" name = "GitHub"
icon = "github" icon = "github"
url = "https://github.com/vividvilla/ezhil" url = "https://github.com/athul/archie"
[[params.social]]
name = "Twitter"
icon = "twitter"
url = "https://github.com/athulcajay/"
[[params.social]]
name = "GitLab"
icon = "gitlab"
url = "https://gitlab.com/athul/"

View file

@ -1,12 +1,10 @@
<footer> <footer>
{{- range $index, $key := .Site.Params.Social -}} {{ .Date.Year}} {{ with .Site.Copyright }} {{ . }} | {{ end }} <a href="https://github.com/athul/archie">Archie Theme</a> | Built with <a href="https://gohugo.io">Hugo</a>
<a href="{{ $key.url }}" title="{{ $key.name }}"><i data-feather="{{ $key.icon }}"></i></a>|
{{- end -}}
{{ with .Site.Copyright }} {{ . }} | {{ end }} <a href="https://github.com/athul/archie">Archie Theme</a> | Built with <a href="https://gohugo.io">Hugo</a>
</footer> </footer>
{{ if not .Site.IsServer }} {{ if not .Site.IsServer }}
{{ template "_internal/google_analytics_async.html" . }} {{ template "_internal/google_analytics_async.html" . }}
{{ end }} {{ end }}
<script> <script>
feather.replace() feather.replace()
</script> </script>

View file

@ -1,9 +1,11 @@
<div class="content"> <div class="content">
<header> <header>
<div class="logo"> <div class="main">
<a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
</div> </div>
<nav> <nav>
👋 {{- range $index, $key := .Site.Params.Social -}}
<a class="soc" href="{{ $key.url }}" title="{{ $key.name }}"><i data-feather="{{ $key.icon }}"></i></a>|
{{- end -}} ⚡️
</nav> </nav>
</header> </header>

View file

@ -1,6 +1,12 @@
/* Fonts */ /* Fonts */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@1,500&display=swap'); @import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@1,500&display=swap');
/* Markdown */ /* Markdown */
:root{
--maincolor: red;
--bordercl:rebeccapurple;
--callouctcolor:dodgerblue;
--hovercolor:navy;
}
html { html {
color: #232333; color: #232333;
font-family: 'Roboto Mono', monospace; font-family: 'Roboto Mono', monospace;
@ -16,7 +22,7 @@ body{
} }
::selection { ::selection {
background: red; background: var(--maincolor);
color: #fff; color: #fff;
} }
@ -25,12 +31,12 @@ h1, h2, h3, h4, h5, h6 {
margin-top: 2em; margin-top: 2em;
} }
h1::before { color: red; content: '# '; } h1::before { color: var(--maincolor); content: '# '; }
h2::before { color: red; content: '## '; } h2::before { color: var(--maincolor); content: '## '; }
h3::before { color: red; content: '### '; } h3::before { color: var(--maincolor); content: '### '; }
h4::before { color: red; content: '#### '; } h4::before { color: var(--maincolor); content: '#### '; }
h5::before { color: red; content: '##### '; } h5::before { color: var(--maincolor); content: '##### '; }
h6::before { color: red; content: '###### '; } h6::before { color: var(--maincolor); content: '###### '; }
p { p {
font-family: 'IBM Plex Sans', sans-serif; font-family: 'IBM Plex Sans', sans-serif;
@ -39,24 +45,24 @@ p {
hr { hr {
border: 0; border: 0;
border-top: 3px dotted rebeccapurple; border-top: 3px dotted var(--bordercl);
margin: 1em 0; margin: 1em 0;
} }
blockquote { blockquote {
border-left: 3px solid rebeccapurple; border-left: 3px solid var(--bordercl);
color: #737373; color: #737373;
margin: 0; margin: 0;
padding-left: 1em; padding-left: 1em;
} }
a { a {
border-bottom: 3px solid red; border-bottom: 3px solid var(--maincolor);
color: inherit; color: inherit;
text-decoration: none; text-decoration: none;
} }
a:hover { a:hover {
background-color: navy; background-color: var(--hovercolor);
color: #fff; color: #fff;
} }
@ -171,38 +177,9 @@ article .title {
} }
/* Lists */
.list {
margin-top: 2em;
}
.list .title a {
border: none;
}
.list .description a {
border-bottom: none;
color: springgreen;
}
.list .description a:hover {
color: #fff;
}
.list h1 {
margin-bottom: 0;
}
.list p {
margin: 0;
}
.list-item {
margin-bottom: 2em;
}
/* Callout */ /* Callout */
.callout { .callout {
background-color: dodgerblue; background-color: var(--callouctcolor);
color: #fff; color: #fff;
padding: 1em; padding: 1em;
} }
@ -218,7 +195,7 @@ article .title {
.callout a:hover { .callout a:hover {
background-color: #fff; background-color: #fff;
color: dodgerblue; color: var(--callouctcolor);
} }
.site-description { .site-description {
@ -234,7 +211,7 @@ justify-content: space-between;
svg{ svg{
max-height: 15px; max-height: 15px;
} }
footer a:hover{ .soc:hover{
background-color: hotpink; background-color: hotpink;
color: white; color: white;
} }