{"id":15545352,"url":"https://github.com/davbree/pleasant-hedgehog","last_synced_at":"2026-05-07T19:07:14.558Z","repository":{"id":140317700,"uuid":"321285135","full_name":"davbree/pleasant-hedgehog","owner":"davbree","description":"Jamstack site created with Stackbit","archived":false,"fork":false,"pushed_at":"2020-12-14T08:43:27.000Z","size":2210,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T14:17:33.782Z","etag":null,"topics":["git","headless","jamstack","jekyll","ssg","stackbit","static"],"latest_commit_sha":null,"homepage":"https://jamstack.new","language":"SCSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davbree.png","metadata":{"files":{"readme":"README-OLD.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":"https://www.paypal.me/mmistakes"}},"created_at":"2020-12-14T08:43:17.000Z","updated_at":"2020-12-14T08:43:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"b8885e6e-dc56-4951-887f-fd1ea1ec0903","html_url":"https://github.com/davbree/pleasant-hedgehog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davbree%2Fpleasant-hedgehog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davbree%2Fpleasant-hedgehog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davbree%2Fpleasant-hedgehog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davbree%2Fpleasant-hedgehog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davbree","download_url":"https://codeload.github.com/davbree/pleasant-hedgehog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245240686,"owners_count":20583099,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git","headless","jamstack","jekyll","ssg","stackbit","static"],"created_at":"2024-10-02T12:44:36.844Z","updated_at":"2026-05-07T19:07:09.517Z","avatar_url":"https://github.com/davbree.png","language":"SCSS","funding_links":["https://www.paypal.me/mmistakes"],"categories":[],"sub_categories":[],"readme":"# So Simple Theme v2 [Deprecated]\n\nGeneral notes and suggestions for customizing **So Simple Theme**.\n\n## Table of Contents\n\n1. [Installation](#installation)\n2. [Running Jekyll](#running-jekyll)\n3. [Scaffolding](#scaffolding)\n4. [Site Setup](#site-setup)\n    1. [Site Wide Configuration](#site-wide-configuration)\n        1. [title](#title)\n        2. [logo](#logo)\n        3. [url](#url)\n        4. [Google Analytics and Webmaster Tools](#google-analytics-and-webmaster-tools)\n    2. [Navigation Links](#navigation-links)\n5. [Adding New Content](#adding-new-content)\n6. [Layouts and Content](#layouts-and-content)\n    1. [Post and Page](#post-and-page)\n    2. [Categories](#categories)\n    3. [Feature Images](#feature-images)\n    4. [Videos](#videos)\n    5. [Link Post Type](#link-post-type)\n    6. [Author Override](#author-override)\n7. [Social Share Links](#social-share-links)\n8. [Disqus Comments](#disqus-comments)\n9. [Twitter Cards](#twitter-cards)\n10. [Jekyll search](#jekyll-search)\n11. [Further Customization](#further-customization)\n\n## Installation\n\nSo Simple now requires [Jekyll](http://jekyllrb.com/) 3.0. Make sure to run `bundle update` if you aren't on the latest version to update all gem dependencies.\n\nIf you are creating a new Jekyll site using So Simple follow these steps:\n\n1. Fork the [So Simple repo](http://github.com/mmistakes/so-simple-theme/fork).\n2. Clone the repo you just forked and rename it.\n3. [Install Bundler](http://bundler.io) `gem install bundler` and Run `bundle install` to install Jekyll and all dependencies.\n4. Update `_config.yml`, add navigation, and replace demo posts and pages with your own. Full details below.\n\nIf you want to use So Simple with an existing Jekyll site follow these steps:\n\n1. [Download So Simple](https://github.com/mmistakes/so-simple-theme/archive/master.zip) and unzip.\n2. Rename `so-simple-theme-master` to something meaningful ie: `new-site`\n3. Run `bundle install` to install Jekyll and all dependencies.\n4. Remove demo posts/pages and replace with your own posts, pages, and any other content you want to move over.\n5. Update posts' and pages' YAML to match variables used by So Simple. Full details below.\n6. Update `_config.yml` and add navigation links and additional author data if applicable. Full details below. \n\n**Pro-tip:** Delete the `gh-pages` branch after cloning and start fresh by branching off `master`. There is a bunch of garbage in `gh-pages` used for the theme's demo site that I'm guessing you won't want.\n\n---\n\n## Running Jekyll\n\nThe preferred method for running Jekyll is with `bundle exec`, but if you're willing to deal gem conflicts feel free to go cowboy with a `jekyll build` or `jekyll serve`.\n\n\u003e In some cases, running executables without `bundle exec` may work, if the executable happens to be installed in your system and does not pull in any gems that conflict with your bundle.\n\u003e\n\u003e However, this is unreliable and is the source of considerable pain. Even if it looks like it works, it may not work in the future or on another machine.\n\n```\nbundle exec jekyll build\n\nbundle exec jekyll serve\n```\n\n---\n\n## Scaffolding\n\nHow So Simple is organized and what the various files are. All posts, layouts, includes, stylesheets, assets, and whatever else is grouped nicely under the root folder. The compiled Jekyll site outputs to `_site/`.\n\n```\nso-simple-theme/\n├── _includes/\n|    ├── browser-upgrade.html    # prompt to install a modern browser for \u003c IE9\n|    ├── disqus-comments.html    # Disqus comments script\n|    ├── feed-footer.html        # post footers in feed\n|    ├── footer.html             # site footer\n|    ├── head.html               # site head\n|    ├── navigation.html         # site top navigation\n|    ├── open-graph.html         # meta data for Open Graph and Twitter cards\n|    └── scripts.html            # site scripts\n├── _layouts/\n|    ├── page.html               # single column page layout\n|    └── post.html               # main content with sidebar for author/post details\n├── _posts/                      # MarkDown formatted posts\n├── _sass/                       # Sass stylesheets\n├── about/                       # sample about page\n├── articles/                    # sample articles category page\n├── assets/\n|    ├── css/                    # compiled stylesheets\n|    ├── fonts/                  # webfonts\n|    └── js/\n|        ├── _main.js            # main JavaScript file, plugin settings, etc\n|        ├── plugins/            # scripts and jQuery plugins to combine with _main.js\n|        ├── scripts.min.js      # concatenated and minified _main.js + plugin scripts\n|        └── vendor/             # vendor scripts to leave alone and load as is\n├── blog/                        # sample blog category page\n├── images/                      # images for posts and pages\n├── 404.md                       # 404 page\n├── feed.xml                     # Atom feed template\n├── index.md                     # sample homepage. lists 5 latest posts \n└── theme-setup/                 # theme setup page. safe to remove\n```\n\n---\n\n## Site Setup\n\nA quick checklist of the files you'll want to edit to get up and running.\n\n### Site Wide Configuration\n\n`_config.yml` is your friend. Open it up and personalize it. Most variables are self explanatory but here's an explanation of each if needed:\n\n#### title\n\nThe title of your site... shocker!\n\nExample `title: My Awesome Site`\n\n#### logo\n\nYour site's logo, appears in the header below the navigation bar and is used as a default image for Twitter Cards when a feature is not defined. Place in the `images` folder.\n\n#### url\n\nUsed to generate absolute URLs for sitemaps, feeds and for generating canonical URLs in a page's `\u003chead\u003e`. When developing locally either comment this out or use something like `http://localhost:4000` so all assets load properly. *Don't include a trailing `/`*.\n\nExamples:\n\n```yaml\nurl: https://mmistakes.github.io/so-simple-theme\nurl: http://localhost:4000\nurl: http://yourdomain.com\nurl: \n```\n\n#### Google Analytics and Webmaster Tools\n\nGoogle Analytics UA and Webmaster Tool verification tags can be entered under `owner` in `_config.yml`. For more information on obtaining these meta tags check [Google Webmaster Tools](http://support.google.com/webmasters/bin/answer.py?hl=en\u0026answer=35179) and [Bing Webmaster Tools](https://ssl.bing.com/webmaster/configure/verify/ownership) support.\n\n### Navigation Links\n\nTo set what links appear in the top navigation edit `_data/navigation.yml`. Use the following format to set the URL and title for as many links as you'd like. *External links will open in a new window.*\n\n```yaml\n- title: Portfolio\n  url: /portfolio/\n\n- title: Made Mistakes\n  url: http://mademistakes.com  \n```\n\n---\n\n## Adding New Content\n\nPosts are stored in the `_posts` directory and named according to the `YEAR-MONTH-DAY-title.MARKUP` format as per [the usual](https://jekyllrb.com/docs/posts/).\n\nTo streamline the creation of posts and pages, [Jekyll::Compose](https://github.com/jekyll/jekyll-compose) and [Octopress](https://github.com/octopress/octopress) are great plugins you can install to automate this process.\n\n---\n\n## Layouts and Content\n\nExplanations of the various `_layouts` included with the theme and when to use them.\n\n### Post and Page\n\nThese two layouts are very similar. Both have an author sidebar, allow for large feature images at the top, and optional Disqus comments. The only real difference is the post layout includes related posts at the end of the page.\n\n### Categories\n\nIn the sample posts folder you may have noticed `categories: articles` in the YAML front matter. Categories can be used to group posts into sub-folders. If you decide to rename or add categories you will need to create new category index pages.\n\nFor example. Say you want to group all your posts under blog/ instead of articles/. In your post add `categories: blog` to the YAML front matter, rename or duplicate articles/index.md to blog/index.md and update the *for loop* to limit posts to just the blog category.\n\n```liquid\n{% for post in site.categories.blog %}\n```\n\nIf done correctly /blog/ should be a page index of only posts with a category of `blog`.\n\n### Feature Images\n\nA good rule of thumb is to keep feature images nice and wide so you don't push the body text too far down. An image cropped around around 1024 x 256 pixels will keep file size down with an acceptable resolution for most devices. If you want to serve these images responsively I'd suggest looking at the [Jekyll Picture Tag](https://github.com/robwierzbowski/jekyll-picture-tag) plugin[^plugins].\n\n[^plugins]: If you're using GitHub Pages to host your site be aware that plugins are disabled. You'll need to build your site locally and then manually deploy if you want to use this sweet plugin.\n\nThe post and page layouts make the assumption that the feature images live in the `images/` folder. To add a feature image to a post or page just include the filename in the front matter like so.\n\n```yaml\nimage:\n  feature: feature-image-filename.jpg\n  thumb: thumbnail-image.jpg #keep it square 200x200 px is good\n```\n\nTo add attribution to a feature image use the following YAML front matter on posts or pages. Image credits appear directly below the feature image with a link back to the original source if supplied.\n\n```yaml\nimage:\n  feature: feature-image-filename.jpg\n  credit: Michael Rose #name of the person or site you want to credit\n  creditlink: http://mademistakes.com #url to their site or licensing\n```\n\n### Videos\n\nVideo embeds are responsive and scale with the width of the main content block with the help of [FitVids](http://fitvidsjs.com/).\n\nNot sure if this only effects Kramdown or if it's an issue with Markdown in general. But adding YouTube video embeds causes errors when building your Jekyll site. To fix add a space between the `\u003ciframe\u003e` tags and remove `allowfullscreen`. Example below:\n\n```html\n\u003ciframe width=\"560\" height=\"315\" src=\"http://www.youtube.com/embed/PWf4WUoMXwg\" frameborder=\"0\"\u003e \u003c/iframe\u003e\n```\n\n### Link Post Type\n\nSo Simple Theme supports **link posts**, made famous by John Gruber. To activate just add `link: http://url-you-want-linked` to the post's YAML front matter and you're done. Here's an [example of a link post]({{ site.url }}/articles/sample-link-post) if you need a visual.\n\n### Author Override\n\nBy making use of data files you can assign different authors for each post.\n\nStart by modifying `authors.yml` file in the `_data` folder and add your authors using the following format.\n\n```yaml\n# Authors\n\nbilly_rick:\n  name: Billy Rick\n  web: http://thewhip.com\n  email: billy@rick.com\n  bio: \"What do you want, jewels? I am a very extravagant man.\"\n  avatar: bio-photo-2.jpg\n  twitter: extravagantman\n  google:\n    plus: +BillyRick\n\ncornelius_fiddlebone:\n  name: Cornelius Fiddlebone\n  email: cornelius@thewhip.com\n  bio: \"I ordered what?\"\n  avatar: bio-photo.jpg\n  twitter: rhymeswithsackit\n  google:\n    plus: +CorneliusFiddlebone\n```\n\nTo assign Billy Rick as an author for our post. We'd add the following YAML front matter to a post:\n\n```yaml\nauthor: billy_rick\n```\n\n---\n\n## Social Share Links\n\nTo add Facebook, Twitter, and Google+ share links to a post add the following YAML front matter.\n\n```yaml\nshare: true\n```\n\nShare links appear below author details in the sidebar.\n\n---\n\n## Disqus Comments\n\nTo enable comments [signup for a Disqus account](https://disqus.com/admin/signup/?utm_source=New-Site) and create a shortname for your site. Then add it to your `_config.yml` under the site owner section like so:\n\n```yaml\nsite:\n  owner:\n    disqus-shortname: shortname\n```\n\nIf you would like comments to appear on every post or page that uses the `post.html` layout simply add the following line to your `_config.yml` and you're done.\n\n```yaml\ncomments: true\n```\n\nTo be more selective and granualar with which posts and pages Disqus comments appear on, add `comments: true` to the YAML Front Matter of each post or page instead.\n\n---\n\n## Twitter Cards\n\nFeature and thumbnail images are used by [Open Graph](https://developers.facebook.com/docs/opengraph/) and [Twitter Cards](https://dev.twitter.com/docs/cards) as well. If you don't assign a thumbnail the site logo is used.\n\nHere's an example of a tweet with Twitter Cards enabled.\n\n![Twitter Card summary large image screenshot]({{ site.url }}/images/twitter-card-summary-large-image.jpg)\n\n---\n\n## Jekyll search\n\nThis is a very basic attempt at [indexing a Jekyll site](https://github.com/mathaywarduk/jekyll-search) and returning search results with JSON --- Google quality results this is not.\n\nTo exclude posts/pages from search results add `search_omit: true` to their YAML Front Matter.\n\n---\n\n## Further Customization\n\nJekyll 2.x added support for Sass files making it much easier to modify a theme's fonts and colors. By editing values found in `_sass/_variables.scss` you can fine tune the site's colors and typography.\n\nFor example if you wanted a red background instead of white you'd change `$body-color: #ebebeb;` to `$body-color: $cc0033;`.\n\nTo modify the site's JavaScript files I setup a Grunt build script to lint/concatenate/minify all scripts into `scripts.min.js`. [Install Node.js](http://nodejs.org/), then [install Grunt](http://gruntjs.com/getting-started), and then finally install the dependencies for the theme contained in `package.json`:\n\n```bash\nnpm install\n```\n\nFrom the theme's root, run `grunt` to concatenate JavaScript files, and optimize all .jpg, .png, and .svg files in the `images/` folder. You can also use `grunt dev` in combination with `jekyll build --watch` to watch for updates JS files that Grunt will then automatically re-build as you write your code which will in turn auto-generate your Jekyll site when developing locally.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavbree%2Fpleasant-hedgehog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavbree%2Fpleasant-hedgehog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavbree%2Fpleasant-hedgehog/lists"}