From fd8e68d50d4c536089e862e489cce7c2a768209a Mon Sep 17 00:00:00 2001 From: yangbvv <116957251+yangbvv@users.noreply.github.com> Date: Sat, 5 Nov 2022 22:35:28 +0800 Subject: [PATCH] Add files via upload --- assets/css/style.scss | 5 ++- assets/minima-social-icons.svg | 57 ++++++++++++++++++++++++++++++++++ script/bootstrap | 6 ++++ script/build | 6 ++++ script/cibuild | 15 +++++++++ script/server | 3 ++ 6 files changed, 91 insertions(+), 1 deletion(-) create mode 100644 assets/minima-social-icons.svg create mode 100644 script/bootstrap create mode 100644 script/build create mode 100644 script/cibuild create mode 100644 script/server diff --git a/assets/css/style.scss b/assets/css/style.scss index 5742f93..0d1fce9 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss @@ -1,4 +1,7 @@ --- +# Only the main Sass file needs front matter (the dashes are enough) --- -@import "{{ site.theme }}"; +@import + "minima/skins/{{ site.minima.skin | default: 'classic' }}", + "minima/initialize"; diff --git a/assets/minima-social-icons.svg b/assets/minima-social-icons.svg new file mode 100644 index 0000000..1e9d77f --- /dev/null +++ b/assets/minima-social-icons.svg @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/script/bootstrap b/script/bootstrap new file mode 100644 index 0000000..492e553 --- /dev/null +++ b/script/bootstrap @@ -0,0 +1,6 @@ +#!/bin/sh + +set -e + +gem install bundler +bundle install diff --git a/script/build b/script/build new file mode 100644 index 0000000..c4ac84f --- /dev/null +++ b/script/build @@ -0,0 +1,6 @@ +#!/bin/sh + +set -e + +echo "Building the example site..." +bundle exec jekyll build diff --git a/script/cibuild b/script/cibuild new file mode 100644 index 0000000..c3c0e99 --- /dev/null +++ b/script/cibuild @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e + +script/build + +if test -e "./_site/index.html";then + echo "It builds!" + rm -Rf _site +else + echo "Huh. That's odd. The example site doesn't seem to build." + exit 1 +fi + +gem build minima.gemspec diff --git a/script/server b/script/server new file mode 100644 index 0000000..d8c3e15 --- /dev/null +++ b/script/server @@ -0,0 +1,3 @@ +#!/bin/sh + +bundle exec jekyll serve