You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add images and Tables to Blog Posts (nmelhado#146)
* TODO: support tables and header formatting, revise comments
* TODO: support tables and headers, add warning about new env variable
* added tables, TODO: revise READMEs and add warnings
* revise READMEs TODO: add warnings
* upgrade sveltekit -- BREAKING
* fix roster order bug
* remove timeouts, upgrade last API endpoints
* add blog console log if missing new ENV variable
* enable SSR
* fix manager link
* fix other manager link
Copy file name to clipboardexpand all lines: CHANGELOG.md
+15
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,21 @@
2
2
3
3
All notable changes to this project will be documented in this file.
4
4
5
+
## [2.0.0] - 2022-09-18
6
+
7
+
### Changed
8
+
9
+
- Upgraded Vite and SvelteKit [(issue #149)](https://github.com/nmelhado/league-page/issues/149)
10
+
-**This may be a breaking change. It required a very significant rewrite**
11
+
12
+
### Fixed
13
+
14
+
- Blog being anabled crashing pages [(issue #141)](https://github.com/nmelhado/league-page/issues/141)
15
+
- Support images and tables in blogs [(issue #140)](https://github.com/nmelhado/league-page/issues/140)
16
+
-**This is a breaking change for previous blog integrations as it now requires an additional API key!!**
17
+
- Follow the README or [TRAINING_WHEELS](https://github.com/nmelhado/league-page/blob/master/TRAINING_WHEELS.md#iii-add-a-blog) guide to add the additional key and re-enable your blog
18
+
- Roster ID mismatch [(issue #155)](https://github.com/nmelhado/league-page/issues/155)
Copy file name to clipboardexpand all lines: README.md
+3
Original file line number
Diff line number
Diff line change
@@ -82,6 +82,9 @@ Generate a custom league page for your Sleeper fantasy football league in just a
82
82
- For local development add a `.env` file to the root of your project and add the following variables
83
83
-`VITE_CONTENTFUL_ACCESS_TOKEN` with the corresponding value obtained from contenful
84
84
-`VITE_CONTENTFUL_SPACE` with your space ID, obtained from contenful
85
+
- Create a Content Delivery / Preview API key
86
+
- For local development add the following variable to your `.env` file
87
+
-`VITE_CONTENTFUL_CLIENT_ACCESS_TOKEN` with the `Content Delivery API - access token` from contenful
85
88
- To add the variables for production, go to your project settings and add the corresponding keys (using the same names as above) to the environment variables section
86
89
- For more detailed instructions, follow the [Training Wheels blog instructions](https://github.com/nmelhado/league-page/blob/master/TRAINING_WHEELS.md#iii-add-a-blog)
87
90
- Finally, set `enableBlog` to true in `src/lib/utils/leagueInfo.js`

213
+

208
214
- Go back to GitHub and scroll back up to the top of `/src/lib/utils/leagueInfo.js`
209
215
- Click the edit button and set `enableBlog` to true
210
216
- Scroll down and click `Commit changes`
@@ -236,6 +242,7 @@ Generate a custom league page for your Sleeper fantasy football league in just a
236
242
## V. Wrapping up
237
243
238
244
- That's it. You've built out your own league website!
245
+
- If you want to replace the league page logo with your league's own logo, replece `static/badge.png` with your own 120px x 120px png file (using the same name)
239
246
- If you want to delve further, you can also edit your league constitution page `/src/routes/constitution/index.svelte`
240
247
- This page is primarily HTML, so you can edit this in a similar way to how you edited the homepage
241
248
- If you and your league like League Page, please consider <b><ahref="https://www.buymeacoffee.com/nmelhado"target="_blank">donating</a></b> (and encouraging your league-mates to too!)
0 commit comments