jekyll-agency 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 106bcaa5271f7d88b493d141f724feb61fb618eb228a05ffb1505821bfcae200
4
- data.tar.gz: 64dda193213710ebc9a4c826c56dfb829daa9b6e12676cb39eb87fd494a507a3
3
+ metadata.gz: 711d62f338fa66af0219e3ac98779bdf3979c3e109cc1fa45a400f56dcd9189c
4
+ data.tar.gz: 5e72bde360f7b78c9ca275e68b5e0cbdfb43944c0e44fb69f3ec2ae7b7dc40ba
5
5
  SHA512:
6
- metadata.gz: 648f6e57084b0739f3fc083cc00b309d82498daf52f328a8785a515d3d5e584d77b0f9a6bab727dd305c6d60db0e1cae4ad575449ffae866b0abfadc99b9b757
7
- data.tar.gz: 52888845ef31d67422093a86035513e629bd4de01a8ad68c6ac1185bfe279bec209c81cd2745b61079342c70b9ba2b8df4d92d80236045a3d0420a3d6764557d
6
+ metadata.gz: b5219de8d2e5d6114547d8685a3f2748c26628a5d969d0ff6cfb67832749114bb697660d0f9ae795e6cc6a0eed56e66195d20556fab6d3f49783ef85d01ad0da
7
+ data.tar.gz: b3996e078acc52c11ab4e68a2b038467d4ed91db3a297a1de72df3c7d4c9ad4d7f658caf24a091554bfadbf42a5052fcd6c0edf12e46f9ac871a25a1ca30f06c
data/404.html CHANGED
@@ -1,14 +1,18 @@
1
1
  ---
2
2
  layout: page
3
3
  title: Page Not Found
4
+ background: grey
4
5
  ---
6
+
5
7
  <section class="page-section">
6
8
  <div class="container">
7
9
  <div class="row">
8
10
  <div class="col-lg-12 text-center">
9
11
  <h2 class="section-heading text-uppercase">404 - Page Not Found</h2>
10
- <h3 class="section-subheading text-muted">The requested page could not be found.</h3>
12
+ <h3 class="section-subheading text-muted">
13
+ The requested page could not be found.
14
+ </h3>
11
15
  </div>
12
16
  </div>
13
17
  </div>
14
- </section>
18
+ </section>
data/LICENSE.txt CHANGED
@@ -1,21 +1,21 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2019 Ravi Riley
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 Ravi Riley
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md CHANGED
@@ -1,116 +1,184 @@
1
- # [Agency Jekyll Theme](https://raviriley.github.io/agency-jekyll-theme)
2
- [![RubyGems Downloads](https://img.shields.io/gem/dt/jekyll-agency.svg)](https://rubygems.org/gems/jekyll-agency)
3
- [![LICENSE](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://github.com/raviriley/agency-jekyll-theme/blob/master/LICENSE.txt)
4
- [![Tip Me via PayPal](https://img.shields.io/badge/PayPal-tip%20me-green.svg?logo=paypal)](https://www.paypal.me/raviriley)
5
- [![template button](https://img.shields.io/badge/-Create%20repository%20from%20template-brightgreen)](https://github.com/raviriley/agency-jekyll-theme-starter/generate)
6
-
7
- <!--[![Featured on Jekyll-Themes.com](https://img.shields.io/badge/featured%20on-JT-red.svg)](https://jekyll-themes.com)-->
8
-
9
- ![screenshot](https://raw.githubusercontent.com/raviriley/agency-jekyll-theme/master/screenshot.PNG)
10
-
11
- This is the [Agency Bootstrap theme](https://startbootstrap.com/themes/agency/) converted to a gem-based Jekyll theme with GitHub Pages support. While this had been done before, ([here](https://github.com/y7kim/agency-jekyll-theme), [here](https://github.com/SotiriosVrachas/jekyll-theme-startbootstrap-agency), and [here](https://github.com/laklau/agency-jekyll-theme/)), these are outdated and have not been updated or maintained for years. I built this theme from the most recent Bootstrap source. I also added a lot of new features that go beyond the original theme's capabilities:
12
-
13
- - GitHub Pages support
14
- - [template repo][template] to get up and running in minutes
15
- - contact form functionality powered by [Formspree.io](https://formspree.io)
16
- - custom pages
17
- - 404 page
18
- - legal/Privacy Policy page
19
- - Google Analytics support
20
- - Markdown support
21
- - custom images
22
- - logo support (instead of just title text)
23
- - automatically updating copyright years
24
- - custom navigation bar, even without the header image(s)
25
- - customizable footer
26
- - custom accent color and dark/light colors
27
- - horizontal scrolling support for client section
28
- <!--
29
- - custom colors with automatic gradient generation (coming soon)
30
- - site title logo text font customization (coming soon)
31
- - horizontal scrolling support for portfolio section (coming soon)
32
- - about section (different from the timeline) -->
33
-
34
- The Jekyll structure of this theme includes:
35
-
36
- - `_portfolio` files - what generate the portfolio grid. YAML front matter handles all the details
37
- - the `page` layout allows custom pages, as seen in the legal and 404 pages
38
- - `sitetext.yml` enables complete customization of all site text
39
- - `navigation.yml` enables fully customizable navigation
40
- - `style.yml` enables fully customizable colors, background images, and other style-related things
41
-
42
-
43
- **If you enjoy this theme, please consider [supporting me](https://www.paypal.me/raviriley) to continue developing and maintaining it.**
44
-
45
- [![Support via PayPal](https://cdn.rawgit.com/twolfson/paypal-github-button/1.0.0/dist/button.svg)](https://www.paypal.me/raviriley)
46
-
47
- ## Installation
48
- There are three ways to install this theme:
49
- 1. As a gem-based theme
50
- 2. Use the [starter template][template] (best for GitHub Pages)
51
- 3. As a remote theme
52
-
53
- #### 1. Gem-based Theme Installation
54
-
55
- Add this line to your Jekyll site's `Gemfile`:
56
-
57
- ```ruby
58
- gem "jekyll-agency"
59
- ```
60
-
61
- Then, replace the contents of your `_config.yml` file with [this](https://github.com/raviriley/agency-jekyll-theme/blob/master/_config.yml).
62
-
63
- And then execute:
64
-
65
- $ bundle
66
-
67
- Or, install it yourself as:
68
-
69
- $ gem install jekyll-agency
70
-
71
- #### 2. Using the [Starter Template][template]
72
- This is the fastest and easiest way to get up and running on GitHub Pages.
73
- Simply generate your own repository by clicking the button below, then replace the sample content with your own and configure for your needs.
74
-
75
- [![template button](https://img.shields.io/badge/-Create%20repository%20from%20template-brightgreen)](https://github.com/raviriley/agency-jekyll-theme-starter/generate)
76
-
77
- #### 3. Remote Theme Installation
78
-
79
- Replace the contents of your `_config.yml` file with [this](https://raw.githubusercontent.com/raviriley/agency-jekyll-theme-starter/master/_config.yml) and your `Gemfile` with [this](https://raw.githubusercontent.com/raviriley/agency-jekyll-theme-starter/master/Gemfile). Then execute:
80
-
81
- $ bundle
82
-
83
-
84
- [template]: https://github.com/raviriley/agency-jekyll-theme-starter
85
-
86
- <!--
87
- ## Documentation and Usage
88
-
89
- **TODO:** Write usage instructions here. Describe available layouts, includes, or assets.
90
-
91
- navheader is used only for the home page. nav is used everywhere else.
92
-
93
- Layouts:
94
-
95
- Includes:
96
-
97
- -->
98
-
99
- ## Contributing
100
-
101
- This project is intended to be a welcoming space for collaboration. If you have an idea, suggestion, feature request, etc., feel free to open an issue or pull request.
102
- For bug reports, follow the provided template.
103
-
104
- #### Improvements - Up for Grabs
105
-
106
- - multiple language support
107
- - customizable background coloring for each section
108
- - ~~custom background images~~
109
-
110
- ## Development
111
-
112
- To set up your environment to develop this theme, [clone this repo](https://github.com/raviriley/agency-jekyll-theme.git), then run `bundle install`. To test the theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. Add pages, documents, data, etc. like normal to test the theme's contents. As you make modifications, your site will regenerate and you should see the changes in the browser after a refresh.
113
-
114
- ## License
115
-
116
- The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
1
+ # Agency Jekyll Theme
2
+
3
+ [![RubyGems Downloads](https://img.shields.io/gem/dt/jekyll-agency.svg)](https://rubygems.org/gems/jekyll-agency)
4
+ [![LICENSE](https://img.shields.io/badge/license-MIT-blue)](/LICENSE.txt)
5
+ [![Tip Me via PayPal](https://img.shields.io/badge/PayPal-tip_me-green?logo=paypal)](https://www.paypal.me/raviriley)
6
+ [![template button](https://img.shields.io/badge/Generate_theme_from_template-2ea44f)][generate]
7
+ [![Featured on Jekyll-Themes.com](https://img.shields.io/badge/featured%20on-JekyllThemes-red.svg)](https://jekyll-themes.com/agency-jekyll-theme/)
8
+
9
+ ## Preview - click for live demo
10
+
11
+ [![screenshot](/screenshot.PNG)][demo-page]
12
+
13
+ ## Warning
14
+
15
+ > :warning: **Notice for those using legacy Formspree contact forms:** :warning:
16
+ >
17
+ > Email-based forms are being [phased out](https://help.formspree.io/hc/en-us/articles/360056076314) by Formspree. [#11](https://github.com/raviriley/agency-jekyll-theme/pull/11) updated this theme to use the [new Formspree structure](https://help.formspree.io/hc/en-us/articles/360017735154-How-to-prevent-spam). Click [here](https://help.formspree.io/hc/en-us/articles/360056076314) for instructions on updating your site's form.
18
+
19
+ ## About
20
+
21
+ This is the [Agency Bootstrap theme](https://startbootstrap.com/themes/agency/), converted to a gem-based Jekyll theme with GitHub Pages support.
22
+
23
+ While this has been done before, [here](https://github.com/y7kim/agency-jekyll-theme), [here](https://github.com/SotiriosVrachas/jekyll-theme-startbootstrap-agency), and [here](https://github.com/laklau/agency-jekyll-theme/), these are outdated and have not been updated or maintained for years. I built this theme from the most recent Bootstrap source.
24
+
25
+ I also added a lot of new features that go beyond the original theme's capabilities:
26
+
27
+ - GitHub Pages support
28
+ - [template repo][template] to get up and running in minutes
29
+ - contact form functionality powered by [Formspree.io](https://formspree.io)
30
+ - custom pages
31
+ - 404 page
32
+ - legal/Privacy Policy page
33
+ - Google Analytics support
34
+ - Markdown support
35
+ - custom images
36
+ - logo support (instead of just title text)
37
+ - automatically updating copyright years
38
+ - custom navigation bar, even without the header image(s)
39
+ - customizable footer
40
+ - custom accent color and dark/light colors
41
+ - horizontal scrolling support for client section
42
+ <!--
43
+ - custom colors with automatic gradient generation (coming soon)
44
+ - site title logo text font customization (coming soon)
45
+ - horizontal scrolling support for portfolio section (coming soon)
46
+ - about section (different from the timeline) -->
47
+
48
+ The Jekyll structure of this theme includes:
49
+
50
+ - `_portfolio` files - what generate the portfolio grid. YAML front matter handles all the details
51
+ - the `page` layout allows custom pages, as seen in the legal and 404 pages
52
+ - `sitetext.yml` enables complete customization of all site text
53
+ - `navigation.yml` enables fully customizable navigation
54
+ - `style.yml` enables fully customizable colors, background images, and other style-related things
55
+
56
+ **If you enjoy this theme, please consider [supporting me](https://www.paypal.me/raviriley) to continue developing and maintaining it.**
57
+
58
+ <div align="center">
59
+
60
+ [![Support via PayPal](https://cdn.rawgit.com/twolfson/paypal-github-button/1.0.0/dist/button.svg)](https://www.paypal.me/raviriley)
61
+
62
+ </div>
63
+
64
+ ## Installation
65
+
66
+ There are three ways to install this theme:
67
+
68
+ 1. As a gem-based theme
69
+ 2. Use the [starter template][template] (best for GitHub Pages)
70
+ 3. As a remote theme
71
+
72
+ #### 1. Gem-based Theme Installation
73
+
74
+ Replace the contents of your `_config.yml` file with the sample [\_config.yml](https://raw.githubusercontent.com/raviriley/agency-jekyll-theme-starter/master/_config.yml).
75
+
76
+ Install the gem with:
77
+
78
+ ```sh
79
+ $ bundle add jekyll-agency
80
+ ```
81
+
82
+ Or manually.
83
+
84
+ 1. Add this line to your Jekyll site's `Gemfile`:
85
+ ```ruby
86
+ gem "jekyll-agency"
87
+ ```
88
+ 2. Then execute:
89
+ ```sh
90
+ $ bundle install
91
+ ```
92
+
93
+ #### 2. Using the [Starter Template][template]
94
+
95
+ This is the fastest and easiest way to get up and running on GitHub Pages.
96
+
97
+ Simply generate your own repository by clicking the button below. Then replace the sample content with your own and configure for your needs.
98
+
99
+ <div align="center">
100
+
101
+ [![Use this template](https://img.shields.io/badge/Generate-Use_this_template-2ea44f?style=for-the-badge)][generate]
102
+
103
+ </div>
104
+
105
+ #### 3. Remote Theme Installation
106
+
107
+ Replace your `_config.yml` file with the starter [\_config.yml](https://raw.githubusercontent.com/raviriley/agency-jekyll-theme-starter/master/_config.yml).
108
+
109
+ Replace your `Gemfile` with the starter [Gemfile](https://raw.githubusercontent.com/raviriley/agency-jekyll-theme-starter/master/Gemfile).
110
+
111
+ Then install gems.
112
+
113
+ ```sh
114
+ $ bundle install
115
+ ```
116
+
117
+ <!--
118
+ ## Documentation and Usage
119
+
120
+ **TODO:** Write usage instructions here. Describe available layouts, includes, or assets.
121
+
122
+ navheader is used only for the home page. nav is used everywhere else.
123
+
124
+ Layouts:
125
+
126
+ Includes:
127
+
128
+ -->
129
+
130
+ ## Contributing
131
+
132
+ This project is intended to be a welcoming space for collaboration. If you have an idea, suggestion, feature request, etc., feel free to open an issue or pull request.
133
+
134
+ For bug reports, follow the provided template.
135
+
136
+ #### Improvements - Up for Grabs
137
+
138
+ - [ ] multiple language support (~~Spanish~~, Chinese, Arabic, etc.)
139
+ - [ ] customizable background coloring for each section
140
+ - [x] ~~custom background images~~
141
+
142
+ ## Development
143
+
144
+ To set up your environment to develop this theme, clone this repo or your fork.
145
+
146
+ ```sh
147
+ $ git clone https://github.com/raviriley/agency-jekyll-theme.git
148
+ $ cd agency-jekyll-theme
149
+ ```
150
+
151
+ Then run:
152
+
153
+ ```sh
154
+ $ bundle install
155
+ ```
156
+
157
+ To test the theme, run this. (Using the `--trace` flag for verbose errors.)
158
+
159
+ ```sh
160
+ $ bundle exec jekyll serve --trace
161
+ ```
162
+
163
+ Then open your browser at:
164
+
165
+ - http://localhost:4000
166
+
167
+ Add pages, documents, data, etc. like normal to test the theme's contents. As you make modifications, your site will regenerate and you should see the changes in the browser after a refresh.
168
+
169
+ ## License
170
+
171
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
172
+
173
+ <!--
174
+
175
+ ## Example Implementations
176
+
177
+ - [CV Enterprises](https://cventerprises.org)
178
+ - [Mortazavi Lab at UC Irvine](https://mortazavilab.github.io/)
179
+
180
+ -->
181
+
182
+ [demo-page]: https://raviriley.github.io/agency-jekyll-theme-starter/
183
+ [template]: https://github.com/raviriley/agency-jekyll-theme-starter
184
+ [generate]: https://github.com/raviriley/agency-jekyll-theme-starter/generate
data/_data/navigation.yml CHANGED
@@ -1,18 +1,58 @@
1
- nav:
2
- - title: "Services"
3
- section: services
4
-
5
- - title: "Portfolio"
6
- section: portfolio
7
-
8
- - title: "About"
9
- section: timeline
10
-
11
- - title: "Team"
12
- section: team
13
-
14
- - title: "Contact"
15
- section: contact
16
-
17
- - title: "Theme Source"
18
- url: https://github.com/raviriley/agency-jekyll-theme/
1
+ #
2
+ # Work based on https://github.com/mmistakes/minimal-mistakes/blob/master/_data/ui-text.yml
3
+ #
4
+ # Configuration: Add to _config.yml
5
+ # locale: "en-US" [YOUR PREFERRED LOCALE]
6
+ #
7
+ # How to use:
8
+ # {{ site.data.navigation[site.locale].nav.<var_name> | default: 'text' }}
9
+
10
+ # English (default)
11
+ # -----------------
12
+ en: &DEFAULT_EN
13
+ nav:
14
+ - title: "Services"
15
+ section: services
16
+ - title: "Portfolio"
17
+ section: portfolio
18
+ - title: "About"
19
+ section: about
20
+ - title: "Timeline"
21
+ section: timeline
22
+ - title: "Team"
23
+ section: team
24
+ - title: "Contact"
25
+ section: contact
26
+ - title: "Theme Source"
27
+ url: https://github.com/raviriley/agency-jekyll-theme/
28
+ en-US:
29
+ <<: *DEFAULT_EN
30
+ en-CA:
31
+ <<: *DEFAULT_EN
32
+ en-GB:
33
+ <<: *DEFAULT_EN
34
+ en-AU:
35
+ <<: *DEFAULT_EN
36
+
37
+ # Spanish
38
+ # -------
39
+ es: &DEFAULT_ES
40
+ nav:
41
+ - title: "Servicios"
42
+ section: servicios
43
+ - title: "Portafolio"
44
+ section: portafolio
45
+ - title: "Sobre Nosotros"
46
+ section: nosotros
47
+ - title: "Cronología"
48
+ section: cronologia
49
+ - title: "Equipo"
50
+ section: equipo
51
+ - title: "Contáctenos"
52
+ section: contacto
53
+ - title: "Fuente de la plantilla"
54
+ url: https://github.com/raviriley/agency-jekyll-theme/
55
+ es-ES:
56
+ <<: *DEFAULT_ES
57
+ es-CO:
58
+ <<: *DEFAULT_ES