Code Monkey home page Code Monkey logo

white-paper's Introduction

White Paper

White Paper is a theme for Jekyll. It is made keeping content in focus and is best for writers/developers who also like to share code with their essays.

Create blog posts

jekyll-compose gem is now installed with jekyll so now creating a new post is as easy as running this simple command

# ensure all the required bundles are installed
bundle install
bundle exec jekyll post "Tooling Considered Harmful"

Configuration file: /Users/vinitkumar/projects/vinitkumar.github.com/_config.yml
New post created at _posts/2019-03-06-tooling-considered-harmful.md

$ git status

Untracked files:
  (use "git add <file>..." to include in what will be committed)

  _posts/2019-03-06-tooling-considered-harmful.md

White Paper in Action

Blog Page

home

Detail Page

post detail

About Page

about

How to use White Paper

Fork the repo to your account by clicking the button on the top right as shown in the image:

fork and then where you want to fork it as shown below.

Next, Go the the project settings and change the repository name to <username>.github.io where username is your username.

Change these entries in the _config.yml file:

Also, change this line in head.html link

<!-- From this -->
<link rel="stylesheet" href=" {{ '/css/main.min.css' | relative_url }}" type="text/css" />
<!-- To this -->
<link rel="stylesheet" href=" {{ '/css/main.min.css' | absolute_url }}" type="text/css" />

This will make sure that the path of CSS is correct and the theme loads correctly.

master_repo: false
url: "<username>.github.io"
rtl: false  # change to true if posts is in Arabic/other Right to left language.

Also, change all other fields in the _config.yml file to your choice.

Installation

Local Development

This theme requires you to install couple of tools first to setup jekyll locally.

git clone [email protected]:vinitkumar/white-paper.git

# If you have ruby installed.
gem install jekyll bundler

# If you have node installed.
npm install
sudo npm install -g grunt-cli  #to get the task runner for grunt.
bundle install
jekyll serve

# on running the serve script, the site will be live on
http://127.0.0.1:4000

This theme uses grunt to concat & minify the css for best performance. In order to prepare the css build. Run grunt It will create a main.min.css file in the css folder.

Switch Syntax Highlighting.

This theme also provides syntax highlighting in different theme. Inside css folder, there is a syntax folder.

.
├── emacs.css
├── github.css
├── monokai.css
├── native.css
├── syntax.css
└── vim.css

Now in the gruntfiles.js

concat: {
  dist: {
    src: [
      'css/base.css',
      'css/sytax/emacs.css', // change this to another theme if you prefer, like vim.css and run grunt
      'css/octicons.css'
    ],
    dest: 'css/<%= pkg.name %>.add.css'
  }
}

Contributors

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

License

Version

  • Version 5.0.0

Contact

Developer

white-paper's People

Contributors

dependabot[bot] avatar dimitrismistriotis avatar fossabot avatar hackerkid avatar monkeywithacupcake avatar mrcat323 avatar mustafaismail22 avatar uguratmaca avatar vinitkumar 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

white-paper's Issues

How to adjust page width?

Hi there,
Thanks for making this great theme! I am using it and I like it.
But I have one question, how to adjust page width? I want to make page width smaller.
Or the page margin a little bigger. How to do it? I am an idiot of html/css.

New UI Update

Port some new styling changes from the work on a fork of this for my own website.

screenshot 2018-02-05 at 10 22 04 pm

User Experience

I have noticed that many users come to this theme, fork it and then leave it in between because they face some issues. The goal of this ticket to resolve all the hurdles a user might face while using this theme and make things as easy as possible.

Desired updates

  • Make all meta-data configurable.
  • Provide the ability of using multiple themes for syntax highlighting.
  • Provide make, grunt script to create build for one unified css/js file.'
  • Make UI cleaner.
  • Remove extra files to clean the project.
  • Evaluate the developer experience of the project.

Footer ?

Nice theme.
but the problem is absence of footer

Nice

This is a really great Jekyll theme!

Pagination

Hey @vinitkumar
I'm a bit confused about pagination stuff in the right bottom side of post page
image
I assume you made it in contrary, previous posts' (oldest let's say) chevron could be the right, I mean this one:
image
It would be active when we're viewing new posts. And latest posts (new ones) could be oppositely, the left chevron:
image
but here it's placed oppositely.

Improvements in style

  • Use a free font
  • Use a dark colour scheme for codeblocks
  • Fix the icon footer style for about.md
  • Give border radius to the profile image.
  • Split the about in two paragraphs

errors when trying to run this theme with no changes

I'm new to Jekyll, so apologies if any of this is my fault:

Configuration file: /tmp/white-paper/_config.yml
       Deprecation: The 'pygments' configuration option has been renamed to 'highlighter'. Please update your config file accordingly. The allowed values are 'rouge', 'pygments' or null.
       Deprecation: You appear to have pagination turned on, but you haven't included the `jekyll-paginate` gem. Ensure you have `gems: [jekyll-paginate]` in your configuration file.
            Source: /tmp/white-paper
       Destination: /tmp/white-paper/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
  Dependency Error: Yikes! It looks like you don't have pygments or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. The full error message from Ruby is: 'cannot load such file -- pygments' If you run into trouble, you can find helpful resources at http://jekyllrb.com/help/! 
  Conversion error: Jekyll::Converters::Markdown encountered an error while converting '_posts/2014-02-14-how-to-use-facebook-page-albums-as-image-source-in-django.markdown':
                    pygments
             ERROR: YOUR SITE COULD NOT BE BUILT:
                    ------------------------------------
                    pygments

Changing Font and CSS Styling

Hi Vinit.

Really love your work on this theme. Since I am new to jekyll and I decided to use jekyll as my platform for blogging, then I want to change Jekyll default theme and found your theme. This is simple yet beautiful.

I want to change the font and some color on the link. I have put new font on css directory, and run jekyll serve but no changes made.

Am I missing something?

Regards,
Ichroman Raditya

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.