jekyll-theme-unity 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +56 -0
  4. data/_config.yml +135 -0
  5. data/_includes/assets/Google-Analytics.html +12 -0
  6. data/_includes/assets/anchor-headings.html +164 -0
  7. data/_includes/assets/btt.html +5 -0
  8. data/_includes/assets/code-header.html +6 -0
  9. data/_includes/assets/noscript.html +3 -0
  10. data/_includes/assets/site-banner.html +9 -0
  11. data/_includes/assets/site-top-bar.html +10 -0
  12. data/_includes/assets/toc.html +174 -0
  13. data/_includes/assets/youtube-embed.html +6 -0
  14. data/_includes/footer.html +39 -0
  15. data/_includes/head.html +21 -0
  16. data/_includes/header.html +49 -0
  17. data/_layouts/default.html +23 -0
  18. data/_layouts/page.html +5 -0
  19. data/_layouts/post.html +52 -0
  20. data/_layouts/post_home.html +105 -0
  21. data/_sass/Material/baseline.scss +18 -0
  22. data/_sass/Material/colors.scss +130 -0
  23. data/_sass/Material/elevation.scss +62 -0
  24. data/_sass/Material/motion.scss +180 -0
  25. data/_sass/Material/palette.scss +118 -0
  26. data/_sass/Material/shape.scss +109 -0
  27. data/_sass/Material/state.scss +35 -0
  28. data/_sass/Material/typography.scss +505 -0
  29. data/_sass/custom/layout.scss +1 -0
  30. data/_sass/custom/styles_variables.scss +70 -0
  31. data/_sass/custom/variables.scss +1 -0
  32. data/_sass/jekyll-theme-unity.scss +1 -0
  33. data/_sass/layout/base.scss +525 -0
  34. data/_sass/layout/highlight-dark.scss +357 -0
  35. data/_sass/layout/highlight-light.scss +202 -0
  36. data/_sass/layout/layout.scss +581 -0
  37. data/_sass/layout/styles_variables.scss +156 -0
  38. data/_sass/variables.scss +170 -0
  39. data/assets/css/style.scss +10 -0
  40. data/assets/image/404.svg +34 -0
  41. data/assets/image/Unity.png +0 -0
  42. data/assets/image/bg-banner.png +0 -0
  43. data/assets/image/favicons/android-chrome-192x192.png +0 -0
  44. data/assets/image/favicons/android-chrome-512x512.png +0 -0
  45. data/assets/image/favicons/apple-touch-icon-120x120.png +0 -0
  46. data/assets/image/favicons/apple-touch-icon-152x152.png +0 -0
  47. data/assets/image/favicons/apple-touch-icon-180x180.png +0 -0
  48. data/assets/image/favicons/apple-touch-icon-60x60.png +0 -0
  49. data/assets/image/favicons/apple-touch-icon-76x76.png +0 -0
  50. data/assets/image/favicons/apple-touch-icon.png +0 -0
  51. data/assets/image/favicons/browserconfig.xml +12 -0
  52. data/assets/image/favicons/favicon-16x16.png +0 -0
  53. data/assets/image/favicons/favicon-32x32.png +0 -0
  54. data/assets/image/favicons/favicon.ico +0 -0
  55. data/assets/image/favicons/mstile-150x150.png +0 -0
  56. data/assets/image/favicons/mstile-310x150.png +0 -0
  57. data/assets/image/favicons/mstile-310x310.png +0 -0
  58. data/assets/image/favicons/mstile-70x70.png +0 -0
  59. data/assets/image/favicons/safari-pinned-tab.svg +22 -0
  60. data/assets/image/favicons/site.webmanifest +17 -0
  61. data/assets/image/mobile.png +0 -0
  62. data/assets/js/main.js +228 -0
  63. data/bin/run +196 -0
  64. metadata +195 -0
data/bin/run ADDED
@@ -0,0 +1,196 @@
1
+ #!/usr/bin/env bash
2
+
3
+ #
4
+ # Name of the theme
5
+ #
6
+ THEME="jekyll-theme-unity"
7
+
8
+ #
9
+ # the name of the script
10
+ #
11
+ SCRIPT="bin/"$( basename "$0" )
12
+
13
+ #
14
+ # Current version
15
+ #
16
+ VERSION="0.1.0"
17
+
18
+ #
19
+ # Colors
20
+ #
21
+ RED='\033[0;31m'
22
+ YELLOW='\033[0;33m'
23
+ CYAN='\033[0;36m'
24
+ NC='\033[0m' # No Color
25
+
26
+ #
27
+ # help option
28
+ #
29
+ function usage
30
+ {
31
+ echo -e "$CYAN$THEME$NC Based on Material 3 design principles"
32
+ echo -e ""
33
+ echo -e "Usage:"
34
+ echo -e "$SCRIPT $CYAN[subcommand]$NC"
35
+ echo -e ""
36
+ echo -e ""
37
+ echo -e "Subcommand:"
38
+ # echo -e " $YELLOW upgrade, u $NC Upgrades $THEME to the latest version"
39
+ echo -e " $YELLOW help, h $NC displays all the subcommand available and how to use it"
40
+ echo -e " $YELLOW version, v $NC show the version of the theme"
41
+ echo -e " $YELLOW server, s $NC Runs the server locally"
42
+ echo -e " $YELLOW insdep, ip $NC Installs all the dependencies"
43
+ echo -e " $YELLOW chktheme, ct $NC Checks the theme for errors"
44
+ echo -e " $YELLOW bldgem, bm $NC builds the theme and uploads it to RubyGems"
45
+ }
46
+
47
+ #
48
+ # Upgrade the theme to the latest version
49
+ #
50
+ # Not supported
51
+ # function Upgrade
52
+ # {
53
+ # echo "Upgrading $THEME to $VERSION"
54
+ # sed -i "s/gem 'jekyll-theme-unity', '~> 0.1.0'/gem 'jekyll-theme-unity', '~> 0.1.0'/gi" ./Gemfile
55
+ # echo "Upgrade Complete!"
56
+ # # insdep
57
+ # }
58
+
59
+ #
60
+ # Runing the server locally
61
+ #
62
+ function server
63
+ {
64
+ echo "Starting Server....."
65
+ bundle exec jekyll serve
66
+ }
67
+
68
+ #
69
+ # Installs all dependencies
70
+ #
71
+ function install_dependencies
72
+ {
73
+ echo "Installing Dependencies of $THEME"
74
+ gem install bundler
75
+ bundle install
76
+ }
77
+
78
+ function error
79
+ {
80
+ printf "${RED}Subcommand not recognized.${NC}"
81
+ echo ""
82
+ usage
83
+ }
84
+
85
+ function version
86
+ {
87
+ printf "$CYAN$THEME$NC v$VERSION"
88
+ }
89
+
90
+ #
91
+ # Theme check
92
+ #
93
+ function chktheme
94
+ {
95
+ echo ""
96
+ printf "Running ${YELLOW}Bundle ${NC}"
97
+ echo ""
98
+ bundle clean --force
99
+ install_dependencies
100
+ echo ""
101
+ printf "Running ${YELLOW}jekyll doctor ${NC}"
102
+ echo ""
103
+ jekyll doctor
104
+ echo ""
105
+ printf "Running ${YELLOW}jekyll build ${NC}"
106
+ echo ""
107
+ jekyll build
108
+ }
109
+
110
+ #
111
+ # gem build and upload
112
+ #
113
+ function gm_bld
114
+ {
115
+ echo Building gemspec.....
116
+ gem build jekyll-theme-unity.gemspec
117
+ echo Build complete
118
+
119
+ while true; do
120
+
121
+ read -p "Do you need to upload the the gem to RubyGem.org ? (y/n) " yn
122
+
123
+ case $yn in
124
+ [yY] ) echo ok, we will proceed;
125
+ echo upload Gem file
126
+ read gm_uld
127
+ gem push $gm_uld
128
+ exit;;
129
+ [nN] ) echo exiting...;
130
+ exit;;
131
+ * ) echo invalid response;
132
+ esac
133
+
134
+
135
+ done
136
+ }
137
+
138
+ #
139
+ # Process subcommands
140
+ #
141
+
142
+ while (( $# ))
143
+ do
144
+ case "$1" in
145
+
146
+
147
+ bldgem | bm)
148
+ gm_bld
149
+ exit 0
150
+ ;;
151
+
152
+ Upgrade | u)
153
+ Upgrade
154
+ install_dependencies
155
+ exit 0
156
+ ;;
157
+
158
+ insdep | ip)
159
+ install_dependencies
160
+ exit 0
161
+ ;;
162
+
163
+ server | s)
164
+ server
165
+ exit 0
166
+ ;;
167
+
168
+ help | h)
169
+ usage
170
+ exit 0
171
+ ;;
172
+
173
+ version | v)
174
+ version
175
+ exit 0
176
+ ;;
177
+
178
+ chktheme | ct)
179
+ chktheme
180
+ exit 0
181
+ ;;
182
+
183
+
184
+ *)
185
+ error
186
+ exit 1
187
+ ;;
188
+
189
+ esac
190
+ done
191
+
192
+
193
+
194
+ printf "${RED}A subcommand is required.${NC}"
195
+ echo ""
196
+ usage
metadata ADDED
@@ -0,0 +1,195 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-theme-unity
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Involts
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2023-02-27 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: jekyll
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '4.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: jekyll-paginate
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.1'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: jekyll-feed
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '0.9'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '0.9'
55
+ - !ruby/object:Gem::Dependency
56
+ name: jekyll-seo-tag
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2.8'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2.8'
69
+ - !ruby/object:Gem::Dependency
70
+ name: bundler
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 2.4.4
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 2.4.4
83
+ - !ruby/object:Gem::Dependency
84
+ name: jekyll-redirect-from
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 0.16.0
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 0.16.0
97
+ description:
98
+ email:
99
+ - 100028421+Involts@users.noreply.github.com
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - LICENSE.txt
105
+ - README.md
106
+ - _config.yml
107
+ - _includes/assets/Google-Analytics.html
108
+ - _includes/assets/anchor-headings.html
109
+ - _includes/assets/btt.html
110
+ - _includes/assets/code-header.html
111
+ - _includes/assets/noscript.html
112
+ - _includes/assets/site-banner.html
113
+ - _includes/assets/site-top-bar.html
114
+ - _includes/assets/toc.html
115
+ - _includes/assets/youtube-embed.html
116
+ - _includes/footer.html
117
+ - _includes/head.html
118
+ - _includes/header.html
119
+ - _layouts/default.html
120
+ - _layouts/page.html
121
+ - _layouts/post.html
122
+ - _layouts/post_home.html
123
+ - _sass/Material/baseline.scss
124
+ - _sass/Material/colors.scss
125
+ - _sass/Material/elevation.scss
126
+ - _sass/Material/motion.scss
127
+ - _sass/Material/palette.scss
128
+ - _sass/Material/shape.scss
129
+ - _sass/Material/state.scss
130
+ - _sass/Material/typography.scss
131
+ - _sass/custom/layout.scss
132
+ - _sass/custom/styles_variables.scss
133
+ - _sass/custom/variables.scss
134
+ - _sass/jekyll-theme-unity.scss
135
+ - _sass/layout/base.scss
136
+ - _sass/layout/highlight-dark.scss
137
+ - _sass/layout/highlight-light.scss
138
+ - _sass/layout/layout.scss
139
+ - _sass/layout/styles_variables.scss
140
+ - _sass/variables.scss
141
+ - assets/css/style.scss
142
+ - assets/image/404.svg
143
+ - assets/image/Unity.png
144
+ - assets/image/bg-banner.png
145
+ - assets/image/favicons/android-chrome-192x192.png
146
+ - assets/image/favicons/android-chrome-512x512.png
147
+ - assets/image/favicons/apple-touch-icon-120x120.png
148
+ - assets/image/favicons/apple-touch-icon-152x152.png
149
+ - assets/image/favicons/apple-touch-icon-180x180.png
150
+ - assets/image/favicons/apple-touch-icon-60x60.png
151
+ - assets/image/favicons/apple-touch-icon-76x76.png
152
+ - assets/image/favicons/apple-touch-icon.png
153
+ - assets/image/favicons/browserconfig.xml
154
+ - assets/image/favicons/favicon-16x16.png
155
+ - assets/image/favicons/favicon-32x32.png
156
+ - assets/image/favicons/favicon.ico
157
+ - assets/image/favicons/mstile-150x150.png
158
+ - assets/image/favicons/mstile-310x150.png
159
+ - assets/image/favicons/mstile-310x310.png
160
+ - assets/image/favicons/mstile-70x70.png
161
+ - assets/image/favicons/safari-pinned-tab.svg
162
+ - assets/image/favicons/site.webmanifest
163
+ - assets/image/mobile.png
164
+ - assets/js/main.js
165
+ - bin/run
166
+ homepage: https://involts.github.io/jekyll-theme-unity/home
167
+ licenses:
168
+ - MIT
169
+ metadata:
170
+ bug_tracker_uri: https://github.com/Involts/jekyll-theme-unity/issues
171
+ documentation_uri: https://github.com/Involts/jekyll-theme-unity#readme
172
+ homepage_uri: https://involts.github.io/jekyll-theme-unity/
173
+ source_code_uri: https://github.com/Involts/jekyll-theme-unity
174
+ wiki_uri: https://github.com/Involts/jekyll-theme-unity/wiki
175
+ plugin_type: theme
176
+ post_install_message:
177
+ rdoc_options: []
178
+ require_paths:
179
+ - lib
180
+ required_ruby_version: !ruby/object:Gem::Requirement
181
+ requirements:
182
+ - - ">="
183
+ - !ruby/object:Gem::Version
184
+ version: 2.3.0
185
+ required_rubygems_version: !ruby/object:Gem::Requirement
186
+ requirements:
187
+ - - ">="
188
+ - !ruby/object:Gem::Version
189
+ version: '0'
190
+ requirements: []
191
+ rubygems_version: 3.3.20
192
+ signing_key:
193
+ specification_version: 4
194
+ summary: Material 3 is a design language developed by Google in 2014.
195
+ test_files: []