diff --git a/content/github.md b/content/github.md index 799d72f..72bd63f 100644 --- a/content/github.md +++ b/content/github.md @@ -1,6 +1,8 @@ --- title: GitHub account: RealOrangeOne +account_url: https://github.com/realorangeone +icon: fab fa-github --- My GitHub account diff --git a/layouts/partials/account-name.html b/layouts/partials/account-name.html new file mode 100644 index 0000000..7d49838 --- /dev/null +++ b/layouts/partials/account-name.html @@ -0,0 +1 @@ +{{ default "@" .Params.account_prefix }}{{ .Params.account }} diff --git a/layouts/partials/card.html b/layouts/partials/card.html index a03df8c..de2bc64 100644 --- a/layouts/partials/card.html +++ b/layouts/partials/card.html @@ -1,11 +1,10 @@ -
-
- - + +
+ +
+ {{ .Title }} +
{{ partial "account-name.html" . }}
+

{{ .Summary }}

+
-
- {{ .Title }} -
{{ .Params.account }}
-

{{ .Summary }}

-
-
+ diff --git a/scripts/build.sh b/scripts/build.sh index a942170..da3b870 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -10,4 +10,6 @@ cp -r node_modules/materialize-css/dist/* static/build/ cp -r node_modules/@fortawesome/fontawesome-free/css/all.min.css static/build/css/font-awesome.css cp -r node_modules/@fortawesome/fontawesome-free/webfonts static/build/ +cp static/src/* static/build + hugo -v --stepAnalysis --gc diff --git a/static/src/index.scss b/static/src/index.scss new file mode 100644 index 0000000..52784f7 --- /dev/null +++ b/static/src/index.scss @@ -0,0 +1,14 @@ +$primary: #E85537; + +.card { + text-align: center; + color: black; + + .card-icon { + margin-top: 24px; + } + + .username { + color: $primary; + } +}