Git Product home page Git Product logo

plainwhite-jekyll's Introduction

plainwhite

Simplistic jekyll portfolio-style theme for writers.

Demo: samarsault.com

plainwhite theme preview

Installation on Github Pages

Add this line to your site's _config.yml:

remote_theme: samarsault/plainwhite-jekyll

Installation

Add this line to your Jekyll site's Gemfile:

gem "plainwhite"

And add this line to your Jekyll site's _config.yml:

theme: plainwhite

And then execute:

$ bundle

Or install it yourself as:

$ gem install plainwhite

Usage

The "plainwhite" key in _config.yml is used to customize the theme data.

plainwhite:
  name: Adam Denisov
  tagline: Developer. Designer
  date_format: "%b %-d, %Y"

  social_links:
    twitter: samarsault
    github: samarsault
    linkedIn: in/samarsault # format: locale/username

Updating Placeholder Image

The placeholder portfolio image can be replaced by the desired image by placing it as assets/portfolio.png in your jekyll website, or by changing the following line in _config.yaml

plainwhite:
  portfolio_image:  "assets/portfolio.png" # the path from the base directory of the site to the image to display (no / at the start)

To use a different image for dark mode, e.g. with different colors that work better in dark mode, add a portfolio_image_dark entry in addition to the portfolio_image.

plainwhite:
  portfolio_image:      "assets/portfolio.png"
  portfolio_image_dark: "assets/portfolio_dark.png"

Comments (Disqus)

Comments on posts can be enabled by specifying your disqus_shortname under plainwhite in _config.yml. For example,

plainwhite:
  disqus_shortname: games

Google Analytics

It can be enabled by specifying your analytics id under plainwhite in _config.yml

plainwhite:
  analytics_id: "< YOUR ID >"

Sitemap

It can be toggled by the following line to under plainwhite in _config.yml

plainwhite:
  sitemap: true

Excerpts

Excerpts can be enabled by adding the following line to your _config.yml

show_excerpts: true

Layouts

  • Home
  • Page
  • Post

Navigation

Navigation can be enabled by adding the following line to your _config.yml

plainwhite:
  navigation:
    - title: My Work
      url: "/my-work"
    - title: Resume
      url: "/resume"

Mobile

By default, Plainwhite places the sidebar (logo, name, tagline etc.) above the content on mobile (narrow screens). To condense it (moving some things to the bottom of the page and making the rest smaller) so it takes up less space, add the following to your _config.yml:

plainwhite:
  condensed_mobile:
    - home
    - post
    - page

This chooses which layouts (types of page) should be condensed on mobile screens. E.g. if you want everything but the landing page to be condensed, remove home from the list. This option does not affect rendering on wider screens.

Dark mode

Dark mode can be enabled by setting the dark_mode flag in your _config.yml

The website will check the OS preferred color scheme and set the theme accordingly, the preference will then be saved in a cookie

plainwhite:
  dark_mode: true

plainwhite dark theme previe

Multiline tagline

Tagline can be multiline in this way

plainwhite:
  tagline: |
  First Line. 

  Second Line. 

  Third Line.

Search-bar

Search-bar can be enabled by adding the following line to config.yml

plainwhite:
  search: true

Search is powered by Simple-Jekyll-Search Jekyll plugin. A search.json containing post meta and contents will be generated in site root folder. Plugin JavaScript will then match for posts based on user input. More info and search.json customization documentation can be found in plugin repository.

Base URL

You can specify a custom base URL (eg. example.com/blog/) by adding the following line to _config.yaml. Note that there is no trailing slash on the URL.

baseurl: "/blog"

Language

You can set the lang attribute of the <html> tag on your pages by changing the following line in _config.yml:

plainwhite:
  html_lang: "en"

See here for a full list of available language codes

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/samarsault/plainwhite-jekyll. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

Development

To set up your environment to develop this theme, run bundle install.

Your theme is setup just like a normal Jekyll site! To test your theme, run bundle exec jekyll serve and open your browser at http://localhost:4000. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.

When your theme is released, only the files in _layouts, _includes, _sass and assets tracked with Git will be bundled. To add a custom directory to your theme-gem, please edit the regexp in plainwhite.gemspec accordingly.

Donation

If this project help you reduce time to develop, you can give me a cup of coffee :)

paypal

License

The theme is available as open source under the terms of the MIT License.

More themes

plainwhite-jekyll's People

Contributors

alexverrico avatar benniemosher avatar bradmiro avatar cbuchart avatar cesarmiquel avatar coliff avatar dotin13 avatar gigitux avatar jomei avatar jookwang-park avatar krinkle avatar oyvn avatar paulst avatar samarsault avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

plainwhite-jekyll's Issues

Your Gemfile lists the gem plainwhite (>= 0) more than once.

I'm absolute new about Ruby, I haven't tried Ruby before.

I want to install Development Environment.
When I run bundle install and terminal show that:

Installing eventmachine 1.2.7 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:
/tmp/bundler20190929-23721-1xm06yxeventmachine-1.2.7/gems/eventmachine-1.2.7/ext
/usr/bin/ruby2.5 -r ./siteconf20190929-23721-xuohki.rb extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h

extconf failed, exit code 1

Gem files will remain installed in
/tmp/bundler20190929-23721-1xm06yxeventmachine-1.2.7/gems/eventmachine-1.2.7 for
inspection.
Results logged to
/tmp/bundler20190929-23721-1xm06yxeventmachine-1.2.7/extensions/x86_64-linux/2.5.0/eventmachine-1.2.7/gem_make.out

An error occurred while installing eventmachine (1.2.7), and Bundler
cannot continue.
Make sure that gem install eventmachine -v '1.2.7' succeeds before
bundling.

In Gemfile:
plainwhite was resolved to 0.7, which depends on
jekyll-seo-tag was resolved to 2.1.0, which depends on
jekyll was resolved to 3.7.4, which depends on
em-websocket was resolved to 0.5.1, which depends on
eventmachine

support jekyll 4.0.0

Got following erro while trying to install for jekyll

Bundler could not find compatible versions for gem "jekyll":
  In snapshot (Gemfile.lock):
    jekyll (= 4.0.0)

  In Gemfile:
    jekyll (~> 4.0.0)

    plainwhite was resolved to 0.5.0, which depends on
      jekyll (~> 3.8)

header_pages

This option doesnt work properly. Is there any guide/docs about this?

Sample Post layout and header

Thanks for this theme, I really like it!
Can I see a sample of the post header, as well as it's layout within the site? (assuming it's just under a _posts directory on root?)

I installed via just adding the remote theme to my _config so I don't see any sample post data. Thanks!

[Question] How to setup dark mode toggle button?

I added the dark_mode: true flag, but it seems that it didn't work, does this have anything to do with other plugins? Do I need an extra step to properly setup?

base-url: /til
title: Today I Learned by Amadeu
description: This is a collection of concise write-ups of small things I've learned day to day across a variety of languages and technologies.
plugins:
   - jekyll-mentions
   - jemoji
   - jekyll-redirect-from
   - jekyll-sitemap
   - jekyll-feed
   - jekyll-seo-tag
   - jekyll-sitemap
   - jekyll-avatar
   - jekyll-include-cache
collections:
  tils:
    output: true
  ios:
    output: true
  swift:
    output: true
  rxjava:
    output: true
  android:
    output: true
  ios-macos:
    output: true
  design-patterns:
    output: true
  algorithm:
    output: true
remote_theme: thelehhman/plainwhite-jekyll
plainwhite:
  name: Amadeu Cavalcante
  tagline: Mobile Developer.
  date_format: "%-d of %b, %Y"
  search: true
  dark_mode: true

  social_links:
    twitter: amadeucavalcant
    github: amadeu01
    linkedIn: in/amadeu01

Am I doing anything wrong ?

Page Build Failure Remote Theme

I'm getting page build failures when using this as a remote theme:

The tag `seo` on line 7 in `/tmp/jekyll-remote-theme-20210913-6-o523pd/_includes/head.html` is not a recognized Liquid tag. For more information, see https://docs.github.com/github/working-with-github-pages/troubleshooting-jekyll-build-errors-for-github-pages-sites#unknown-tag-error

Image not showing?

i have written a blog using the theme, and an image is included.

![Xi's Speech](../assets/200101/pic1.png)

however, it can be displayed when i preview the file on GitHub, but the image cannot be displayed on my blog's website.
can anyone help me?

hardcoded social sites

It seems the social sites are hardcoded in default.html to LinkedIn, GitHub, and Twitter. If I add Instagram in _config it doesn't appear on the homepage. What is the suggested fix for this? Thanks.

Layout off on iOS

Hi, loving the design so far. Keep up the good work 👍

Layout is not working on iPhone, works fine in android.

IMG_6A2482F03F2A-1

Would also love to get proper categories and tags support but I don't want to burden you with stuff 😃

Search

Hey,
does it exist some why how to enable search in posts?
Thx

How can I add figure caption to image?

I'd like to add descriptions to images, and the descriptions with different format to distinguish with normal paragraph. what is the best way?

Thanks!

Configurable portfolio image

In my opinion portfolio image should be more configurable. E.g. user should be able to:

  • point specific image filename (not only hardcoded one),
  • define if image should be rounded or not,
  • alternatively point Gravatar image by providing the appropriate email address

Dark Mode cutting into _post Text

I have a small issue in which if your tagline is 2 lines long (wrapped) then the post on screen gets cut in from the left 😢 it only does this when viewing a post in Dark Mode
With 2 line tagline
image

With single tagline
image

Hope this makes sense! 👍

404 page error with jekyll-seo-tag 2.6.1

I am currently getting the following error with jekyll 4.1.0 and jekyll-seo-tag 2.6.1.

Configuration file: /home/dotin13/Documents/GitHub/plainwhite-jekyll/_config.yml
 Theme Config file: /home/dotin13/Documents/GitHub/plainwhite-jekyll/_config.yml
            Source: /home/dotin13/Documents/GitHub/plainwhite-jekyll
       Destination: /home/dotin13/Documents/GitHub/plainwhite-jekyll/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
  Liquid Exception: undefined method `[]' for nil:NilClass in 404.html/#excerpt
  Liquid Exception: undefined method `[]' for nil:NilClass in 404.html
                    ------------------------------------------------
      Jekyll 4.1.0   Please append `--trace` to the `serve` command 
                     for any additional information or backtrace. 
                    ------------------------------------------------
Traceback (most recent call last):
	142: from /home/dotin13/gems/bin/jekyll:23:in `<main>'
	141: from /home/dotin13/gems/bin/jekyll:23:in `load'
	140: from /home/dotin13/gems/gems/jekyll-4.1.0/exe/jekyll:15:in `<top (required)>'
	139: from /home/dotin13/gems/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
	138: from /home/dotin13/gems/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
	137: from /home/dotin13/gems/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
	136: from /home/dotin13/gems/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
	135: from /home/dotin13/gems/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
	134: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/commands/serve.rb:86:in `block (2 levels) in init_with_program'
	133: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
	132: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/command.rb:91:in `each'
	131: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
	130: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/commands/build.rb:36:in `process'
	129: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/commands/build.rb:65:in `build'
	128: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/command.rb:28:in `process_site'
	127: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/site.rb:80:in `process'
	126: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/site.rb:208:in `render'
	125: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/site.rb:523:in `render_pages'
	124: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/site.rb:523:in `each'
	123: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/site.rb:524:in `block in render_pages'
	122: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/site.rb:532:in `render_regenerated'
	121: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/renderer.rb:63:in `run'
	120: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/renderer.rb:80:in `render_document'
	119: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/renderer.rb:127:in `render_liquid'
	118: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:36:in `render!'
	117: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:70:in `measure_time'
	116: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:37:in `block in render!'
	115: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:63:in `measure_bytes'
	114: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:38:in `block (2 levels) in render!'
	113: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:59:in `measure_counts'
	112: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:39:in `block (3 levels) in render!'
	111: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/template.rb:220:in `render!'
	110: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/template.rb:207:in `render'
	109: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/template.rb:242:in `with_profiling'
	108: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/template.rb:208:in `block in render'
	107: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/block_body.rb:91:in `render'
	106: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/block_body.rb:103:in `render_node_to_output'
	105: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/tags/include.rb:210:in `render'
	104: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/context.rb:123:in `stack'
	103: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/tags/include.rb:212:in `block in render'
	102: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/inclusion.rb:16:in `render'
	101: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:36:in `render!'
	100: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:70:in `measure_time'
	 99: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:37:in `block in render!'
	 98: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:63:in `measure_bytes'
	 97: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:38:in `block (2 levels) in render!'
	 96: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:59:in `measure_counts'
	 95: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:39:in `block (3 levels) in render!'
	 94: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/template.rb:220:in `render!'
	 93: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/template.rb:207:in `render'
	 92: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/template.rb:242:in `with_profiling'
	 91: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/template.rb:208:in `block in render'
	 90: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/block_body.rb:91:in `render'
	 89: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/block_body.rb:103:in `render_node_to_output'
	 88: from /home/dotin13/gems/gems/jekyll-seo-tag-2.6.1/lib/jekyll-seo-tag.rb:36:in `render'
	 87: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/template.rb:220:in `render!'
	 86: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/template.rb:207:in `render'
	 85: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/template.rb:242:in `with_profiling'
	 84: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/template.rb:208:in `block in render'
	 83: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/block_body.rb:82:in `render'
	 82: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/block_body.rb:103:in `render_node_to_output'
	 81: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/tags/if.rb:43:in `render'
	 80: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/context.rb:123:in `stack'
	 79: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/tags/if.rb:44:in `block in render'
	 78: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/tags/if.rb:44:in `each'
	 77: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/tags/if.rb:45:in `block (2 levels) in render'
	 76: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/condition.rb:46:in `evaluate'
	 75: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/condition.rb:46:in `loop'
	 74: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/condition.rb:47:in `block in evaluate'
	 73: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/condition.rb:114:in `interpret_condition'
	 72: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/context.rb:159:in `evaluate'
	 71: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/variable_lookup.rb:38:in `evaluate'
	 70: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/variable_lookup.rb:38:in `each_index'
	 69: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/variable_lookup.rb:48:in `block in evaluate'
	 68: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/context.rb:197:in `lookup_and_evaluate'
	 67: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/drops/drop.rb:47:in `[]'
	 66: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/drops/drop.rb:47:in `public_send'
	 65: from /home/dotin13/gems/gems/jekyll-seo-tag-2.6.1/lib/jekyll-seo-tag/drop.rb:81:in `description'
	 64: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/drops/drop.rb:47:in `[]'
	 63: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/drops/drop.rb:47:in `public_send'
	 62: from /usr/lib/ruby/2.7.0/forwardable.rb:235:in `excerpt'
	 61: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/page.rb:226:in `excerpt'
	 60: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/page.rb:226:in `new'
	 59: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/page_excerpt.rb:13:in `initialize'
	 58: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/renderer.rb:63:in `run'
	 57: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/renderer.rb:80:in `render_document'
	 56: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/renderer.rb:127:in `render_liquid'
	 55: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:36:in `render!'
	 54: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:70:in `measure_time'
	 53: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:37:in `block in render!'
	 52: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:63:in `measure_bytes'
	 51: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:38:in `block (2 levels) in render!'
	 50: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:59:in `measure_counts'
	 49: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:39:in `block (3 levels) in render!'
	 48: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/template.rb:220:in `render!'
	 47: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/template.rb:207:in `render'
	 46: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/template.rb:242:in `with_profiling'
	 45: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/template.rb:208:in `block in render'
	 44: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/block_body.rb:91:in `render'
	 43: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/block_body.rb:103:in `render_node_to_output'
	 42: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/tags/include.rb:210:in `render'
	 41: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/context.rb:123:in `stack'
	 40: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/tags/include.rb:212:in `block in render'
	 39: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/inclusion.rb:16:in `render'
	 38: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:36:in `render!'
	 37: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:70:in `measure_time'
	 36: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:37:in `block in render!'
	 35: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:63:in `measure_bytes'
	 34: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:38:in `block (2 levels) in render!'
	 33: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:59:in `measure_counts'
	 32: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:39:in `block (3 levels) in render!'
	 31: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/template.rb:220:in `render!'
	 30: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/template.rb:207:in `render'
	 29: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/template.rb:242:in `with_profiling'
	 28: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/template.rb:208:in `block in render'
	 27: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/block_body.rb:91:in `render'
	 26: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/block_body.rb:103:in `render_node_to_output'
	 25: from /home/dotin13/gems/gems/jekyll-seo-tag-2.6.1/lib/jekyll-seo-tag.rb:36:in `render'
	 24: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/template.rb:220:in `render!'
	 23: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/template.rb:207:in `render'
	 22: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/template.rb:242:in `with_profiling'
	 21: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/template.rb:208:in `block in render'
	 20: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/block_body.rb:82:in `render'
	 19: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/block_body.rb:103:in `render_node_to_output'
	 18: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/tags/if.rb:43:in `render'
	 17: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/context.rb:123:in `stack'
	 16: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/tags/if.rb:44:in `block in render'
	 15: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/tags/if.rb:44:in `each'
	 14: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/tags/if.rb:45:in `block (2 levels) in render'
	 13: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/condition.rb:46:in `evaluate'
	 12: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/condition.rb:46:in `loop'
	 11: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/condition.rb:47:in `block in evaluate'
	 10: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/condition.rb:114:in `interpret_condition'
	  9: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/context.rb:159:in `evaluate'
	  8: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/variable_lookup.rb:38:in `evaluate'
	  7: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/variable_lookup.rb:38:in `each_index'
	  6: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/variable_lookup.rb:48:in `block in evaluate'
	  5: from /home/dotin13/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/context.rb:197:in `lookup_and_evaluate'
	  4: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/drops/drop.rb:47:in `[]'
	  3: from /home/dotin13/gems/gems/jekyll-4.1.0/lib/jekyll/drops/drop.rb:47:in `public_send'
	  2: from /home/dotin13/gems/gems/jekyll-seo-tag-2.6.1/lib/jekyll-seo-tag/drop.rb:27:in `title?'
	  1: from /home/dotin13/gems/gems/jekyll-seo-tag-2.6.1/lib/jekyll-seo-tag/drop.rb:50:in `title'
/home/dotin13/gems/gems/jekyll-seo-tag-2.6.1/lib/jekyll-seo-tag/drop.rb:43:in `page_title': undefined method `[]' for nil:NilClass (NoMethodError)

Adding excerpt: '404' would fix this issue. But still not sure its cause.

Any thoughts appreciated.

Soundcloud link to _config.yml

So I wanted to share my SoundCloud link on my profile, just like how you've provided, for Instagram, LinkedIn, and so on. Is that possible to implement? Thank you!

Also, I love this theme. It is so clean and professional at the same time!

Please check out my page once! Hope you like it.

Code blocks not rendering in browser

Hello, there seems to be an issue where code blocks are not rendering in the browser correctly (at all)? Any advice would be great. To clarify, although the text is different, this is using the default post.
Screenshot from 2020-02-08 13-16-38-1

Social links?

I do not have a LinkedIn, so i have commented the linkedin in the _config.yml, but the icon still appears on my website, so can anyone help me solve the problem?

Can't you always activate the dark mode?

Hello, I'm Syon0303, who is using the theme you made very well.
Currently, the dark mode under this theme seems to be able to turn on dark mode only when customers entering the blog activate the dark mode after giving the dark_mode option true in the config.yml file.
Even if the theme's name is plainwhite, I really like the dark mode of this theme.
Is there a way to set the dark mode to default?
If there is no such way, can you give me an option to set the dark mode to default?

Since I used a translator for my writing, the context may be strange. Thank you for reading it. Happy New Year!

Add "read more" link to excerpts

Hi!
Currently on the posts page it's not obvious that an excerpt is not a full post. I think it would be nice to have some way to add some kind of "read more" link with custom text.

jekyll v3.8.6

When I try to bundle update off of this repo, I get an error:

Fetching https://github.com/thelehhman/plainwhite-jekyll
Fetching gem metadata from https://rubygems.org/...........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Bundler could not find compatible versions for gem "jekyll":
  In Gemfile:
    jekyll (~> 3.8.6)

    plainwhite was resolved to 0.9, which depends on
      jekyll (~> 3.7.3)

When I bundle update using my fork, it works. The only different is that my .gemspec file has "jekyll", "~> 3.8.6".

https://github.com/benniemosher/plainwhite-jekyll/blob/master/plainwhite.gemspec#L15

However, when I try to create a PR to your repo here I do not get a change. Can I just submit a PR and branch right against this PR to update that or is there a better way? Please let me know. Thanks!

pinging: @thelehhman for attention ;)

Not able to add stackoverflow icon in social links

I tried to add stackoverflow profile as follows

       {%- if site.plainwhite.social_links.stackoverflow -%}
       <a href="https://stackoverflow.com/users/{{ site.plainwhite.social_links.stackoverflow }}" target="_blank">
         <li>
           <i class="icon-stackoverflow"></i>
         </li>
       </a>
       {%- endif -%}

By following https://github.com/jekyll/minima/pull/443/files

But it did not work, stackoverflow icon was not showing. This is my first try with jekyll, may be I am missing something very basic.
Could you let me know the issue.
Thanks in advance

Share buttons

It would be nice to be able to share posts with some excerpt/preview.

Thanks

How to display real tables ?

Hi,
How to display real tables with the contour display on posts ?

Here's the display I'm getting, it's not too readable in the state
image

Thanks for your work.

Upcoming design updates

Focus

  • Compact design
  • Distraction-free posts, so that they can be read easily
  • Better navbar

Screenshot 2021-07-03 at 11 14 14 PM

Screenshot 2021-07-03 at 11 14 30 PM

Let me know what you guys think. Suggestions are welcome!

More configurable post excerpt

The user should be able to:

  • specify whether the excerpt should end with the Read more link and its label,
  • configure excerpts length

Place navigation at bottom on mobile

I noticed that on mobile, the top is completely covered by the name, portfolio_image, and navigation. This means that all my pages look the same when loading, and you have to scroll to see a difference (since the top is the same on all pages).

If the navigation could be moved to the bottom on mobile, it might help bring the title of the page into view when the page loads. It can stay in the same place in the sidebar on desktop.

Notice of fork

Hi @samarsault,

❤️ Thanks for open-sourcing this elegant Jekyll theme!

I'd like to let you know that I've used this for my blog for about a year now and like it a lot. I've made numerous changes that you're free to port back if they're of interest to you.

  • Support Dark Mode with toggle, temporary cookie, and detection of native preference.
  • Support "Safari Reader" mode (to display author and date meta data).
  • Support "Open Graph" metadata in <head> to improve the way previews of articles render as Twitter Cards, and in other messaging apps and social media.
  • Support RSS feeds built-in and promote via an icon (no Jekyll plugin required).
  • Support Matomo analytics (self-hosted open-source alternative to Google Analytics).
  • Add tag pages that filter articles by tag (no plugin and no client-side JavaScript). Details at #8 (comment)
  • Add way to easily open original image on click, for touch screens, by double tap. (one line of optional JavaScript)
  • Improve reading experience on tiny viewports such as KaiOS feature phones and smart watches (a new "micro" media query).
  • On mobile, use the large "About" header only when viewing the home page. Replace with consensed version when viewing articles.
  • (Design change) Blocks are pulled out to full width (image, blockquote, pre-formatted code). This makes images larger especially on tablets and mobile. It also makes the text of quotes and code align with paragraphs (re-pad after negative margin).
  • (Design change) System UI fonts for sans-serif headings, also as performance optimisation.
  • Performance optimisation: Make JavaScript code async or embed at end of HTML stream.
  • Performance optimisation: Replace large icon font with extracted SVG icons embedded directly in the stylesheet.

Example links from my blog:

Source code:

Thanks again, and I hope perhaps some of this is useful to you. If you have questions about anything, feel free to ask. I'm happy to help answer anything I can :)

-- Timo

Image preview?

Any idea why my images are showing on the main page just fine (_config.yml has show_excerpts: true) , but when I click into a post, the image is missing?

Here's the post text:

---
title: Stickers About Nothing
---
A Sticker Pack for the rest of us  
[![Stickers](assets/stickers-icon.png "Go To Sticker Pack")](https://sonasapps.github.io/stickers-about-nothing/)  

image

image2

Creating markdown tables

Hey man,

Im trying to create markdown tables eg:

| a | b | c | d | e | f | g | h | i |
|---|---|---|---|---|---|---|---|---|

When rendering in VSCode, this table looks as it should. However, It just renders as a string. Is this related to the theme in any way? How can i apply this myself otherwise?

Icon for websites

Hello, can I add a personalised icon for the website? Thanks 👍

Tagline overflow

When tagline is long enough, it crawls into the posts section.

[Feature Request] GitLab Link

Hi.
Would it be possible to add an option for a link to a GitLab profile like all of the other social links in this template?
I would add it myself, but I'm not sure how to edit the font files, so if someone could point me in the right direction the I can have a crack at it 😉.
Cheers,
Alex.

Sitemap showing 404

Hello!

I am using this theme in remote configuration mode and I configure the option in my _config.yml:

plainwhite:
    sitemap: true

But if I access the URL https://luizsouza.com/sitemap.xml shows the Github Pages 404 error.

How I can resolve this problem? 🤔

About tags

There are tags? And they will work (i.e. click to select articles according to labels)?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.