-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: update readme and merge in blog author guide (#209)
- merge former "getting started", "prerequisites", and "development" sections - remove old "contributing section" - merge-in blog post authoring information from former `docs/blog-documentation.md` - remove blog post authoring except cover image generation information from former `docs/blog-documentation.md` - rename former `docs/blog-documentation.md` to `docs/blog-cover-generation.md` - add "communtiy" section with links to social media - slightly adjust readme navigation line
- Loading branch information
1 parent
83f5f51
commit 4e9271f
Showing
3 changed files
with
123 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
## Generating Blog Post Covers | ||
|
||
Generating images for TeraSaturday, TeraSpotlight and custom logo on a image require some extra arguments to be added in frontmatter | ||
|
||
For `TeraSaturday` and `TeraSpotlight` blog | ||
|
||
``` | ||
imageTag: "TeraSaturday" | ||
postNumber: "#15" | ||
mainImage: "./static/images/15.jpg" | ||
``` | ||
|
||
`imageTag` can be TeraSaturday or TeraSpotlight, any other text will be not valid. `postNumber` is TeraSaturday or TeraSpotlight post number followed by "#" and number. `mainImage` is a path of a background in which blog writter want to overlay the TeraSaturday or TeraSpotlight text | ||
|
||
> **⚠️ NOTE:** Their should be a dummy `cover.jpg` image in blog directory so that it can be replaced during generation and also cover image path should be `cover: "./cover.jpg"`. | ||
For custom logo on image | ||
|
||
``` | ||
imagetag: "Other" | ||
customLogo: "./static/logos/gsoc.png" | ||
mainImage: "./static/images/14.jpg" | ||
position: "end" | ||
``` | ||
|
||
`imageTag` will be `other` for custom logo on a image, any other text will be not valid. `customLogo` is path of the logo | ||
.`mainImage` is a path of a background in which blog writter want to overlay the logo. `position` can be start, center or end. | ||
|
||
After all the above setup for generating images it should be followed by command | ||
``yarn run generate-images` | ||
|
||
> **⚠️ NOTE:** For generating images development server should be running on different terimnal |
This file was deleted.
Oops, something went wrong.