Code Monkey home page Code Monkey logo

centrarium's People

Contributors

aavdberg avatar academey avatar aloerina01 avatar andrewkroh avatar aron-bordin avatar audiolion avatar bencentra avatar darkoarnautov avatar falexandrou avatar huddo121 avatar jakebruemmer avatar jeremywrnr avatar richardlitt avatar riouwa 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  avatar  avatar  avatar  avatar

centrarium's Issues

I installed successfully and start jekyll server but don't show view

qq20151024-2 2x

when i input http://localhost:4000/ it fail but when i input http://127.0.0.1:4000/centrarium/ it run correct like this
qq20151024-3 2x

my config file is

Site settings

title: GuDong
subtitle: "A simple yet classy theme for your Jekyll website or blog"
email: [email protected]
name: Ben Centra
description: >
A simple yet classy theme for your Jekyll website or blog.
baseurl: "/centrarium/" # the subpath of your site, e.g. /blog/
url: "http://bencentra.github.io" # the base hostname & protocol for your site
cover: "assets/header_image.jpg"
logo: "assets/logo.png"

Build settings

markdown: kramdown
paginate: 5
paginate_path: "/page:num/"
......

how should i do ? thanks

Problem using the theme in Github

First of all, thanks for providing such an awesome theme.

I'm a newbie in Jekyll, but I think I managed already to install Jekyll (jekyll 2.5.3), gems and all the dependencies.

However, when I try to use centrarium in my 'username.github.io' page, I visualize the final web page in a pure-text format and not the beautiful them centrarium is (I also tried just forking centrarium changing the name into 'username.github.io' without good results )

The pure-text format I got is exactly what I got when running:
jekyll build --destination web
as you can see here:

jekyll_build

but when I run
jekyll serve

in my local machine directory I got the result I want, as you can see here:
jekyll_serve

could you provide some help in what I'm doing wrong ?

Thanks in advance

{% raw %} tags for html code blocks not working

The following should print everything within the raw tags with pretty highlight.js syntax colouring

<pre><code class="hljs html">
{% raw %}
<ul class="post-list">  
  {% for post in site.posts %}
    <li>
      <span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
      <h2>
        <a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
      </h2>
    </li>
  {% endfor %}
</ul>

<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></p>
{% endraw %}
</code></pre>

But all that comes out is the Liquid templating:

{% for post in site.posts %}
{{ post.date | date: "%b %-d, %Y" }}
{{ post.title }}

{% endfor %}
subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS

Ignoring the highlight.js <pre> and <code> tags, even if I just use the {% raw %} mark up I still only see the liquid output. Is Centrarium handling the raw tags properly?

Change in posts category:Dummy to category:dummy

When it is category:Dummy (in _posts), then in the homepage , - in Dummy , doesnt redirect to the correct page. if you change frontmatter from category:Dummy to category:dummy , then it works.

SCSS conversion error: undefined variable

Trying to build a site with the centrarium theme, running $ bundle exec jekyll serve and getting the following conversion error:

Conversion error: Jekyll::Converters::Scss encountered an error while converting 'css/main.scss':
Undefined variable: "$md-break-point". on line 65
jekyll 3.6.2 | Error: Undefined variable: "$md-break-point". on line 65

The problem is, I can't find the $md-break-point variable in any of my .scss files and don't know what line 65 is referring to.

I have installed:

bourbon 5.0.0
bitters 1.8.0
neat 2.1.0
jekyll 3.6.2

The main.scss file looks like this:

@charset "utf-8";

// Import partials from sass_dir (defaults to _sass)
// Includes Bourbon, Neat, and Bitters (thanks, thoughtbot!)

@import
"bourbon/bourbon",
"base/base",
"neat/neat",
"layout"
;

I'm new to sass/css with jekyll - any thoughts would help! Thanks.
repo: https://github.com/caityp/caityp.github.io

remove typography html

Hi and what a great theme to be able to use and customize!

I'm trying to remove Typography from navigation but cannot do that without breaking the page in github. I'm sure there is something I'm missing but it would be great if someone could help.

In a local jekyll setup i can see the _site folder but not in the repo that is uploaded and handled in github.

Thanks

Proper meta tags for all pages

  • Add "keywords" meta tag for posts (use tags)
  • Set "author" by post author (not just site.name, in case site is shared)

Anything else?

Documentation for newbies in Ruby world

Hey @bencentra,

First of all thanks for your theme, looks like super nice!

I would like to know what is the procedure for a newbie to be able to use your theme.

I have first followed the official jekyll documentation to have jekyll running on my machine (Mac OS X) with a fresh website running locally:

  • gem install jekyll
  • jekyll new my-blog
  • cd my-blog
  • jekyll serve

It's running without any issue.

jekyll serve
Configuration file: /Users/gayly/Work/Perso/my-awesome-site/_config.yml
Source: /Users/gayly/Work/Perso/my-awesome-site
Destination: /Users/gayly/Work/Perso/my-awesome-site/_site
Generating...
done.
Auto-regeneration: enabled for '/Users/gayly/Work/Perso/my-awesome-site'
Configuration file: /Users/gayly/Work/Perso/my-awesome-site/_config.yml
Server address: http://127.0.0.1:4000/
Server running... press ctrl-c to stop.

Then I've tried just downloaded your theme, unzip it and try to run it using jekyll serve and here is what I got:

jekyll serve
Configuration file: /Users/gayly/Work/Perso/Yassine-Gayl-Blog/_config.yml
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- jekyll-archives (LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:inrequire'
from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.5.3/lib/jekyll/plugin_manager.rb:29:in block in require_gems' from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.5.3/lib/jekyll/plugin_manager.rb:26:ineach'
from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.5.3/lib/jekyll/plugin_manager.rb:26:in require_gems' from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.5.3/lib/jekyll/plugin_manager.rb:19:inconscientious_require'
from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.5.3/lib/jekyll/site.rb:79:in setup' from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.5.3/lib/jekyll/site.rb:41:ininitialize'
from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.5.3/lib/jekyll/commands/build.rb:29:in new' from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.5.3/lib/jekyll/commands/build.rb:29:inprocess'
from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.5.3/lib/jekyll/commands/serve.rb:26:in block (2 levels) in init_with_program' from /Library/Ruby/Gems/2.0.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:incall'
from /Library/Ruby/Gems/2.0.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in block in execute' from /Library/Ruby/Gems/2.0.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:ineach'
from /Library/Ruby/Gems/2.0.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in execute' from /Library/Ruby/Gems/2.0.0/gems/mercenary-0.3.5/lib/mercenary/program.rb:42:ingo'
from /Library/Ruby/Gems/2.0.0/gems/mercenary-0.3.5/lib/mercenary.rb:19:in program' from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.5.3/bin/jekyll:20:in<top (required)>'
from /usr/bin/jekyll:23:in load' from /usr/bin/jekyll:23:in

'

Do you have any idea where this could come from. I guess from something declared within the _config.yml file.

Since then, I assume that I wont be able to copy your config file and put it in the jekyll default generated directory.

Thanks for your help!

Yassine

Disqus not working

Ben and All,

Thanks for the awesome Jekyll template. I love how simple and clean it is.

I signed up for Disqus yesterday and added my username to _config.yml, but I'm getting the Disqus troubleshooting error. You can see my first post here. And here's the Github markdown file for that post.

Here's my _config.yml. Is there something else I need to do to enable Disqus?

Thanks,

Bryan

A problem about the posts' date

Hello, recently I find something strange in my few attempts when writing my own blogs: when I change the date-time from the template posts, exactly, from 2015 to 2021, the post will disappear! And neither can I found the post on the posts' page nor the main page.

I just create a new file named "2021-05-10-Hello-world.md" in the post folder and do not change any other codes. Here is my attempt:

---
layout: post
title:  "Hello world!"
date:   2012-05-10T22:25:52-05:00
author: Luke Huang
categories: Dummy
---

## Hello world!

As you can see, this is the first blog!

But when I run the command bundle exec jekyll serve, I find the page missing. Can anyone tell me what's wrong with it? Thank you!

emoji added as a huge icon in a post

Hi and thanks for the awesome theme!

I tried to enable jemoji plugin by adding gem 'jemoji' in my Gemfile. I then added an emoji like ๐Ÿ˜Œ in my post but i get a huge Icon instead. Probably I'm doing something wrong here, can you help?

Regards

Potential feature additions

Hi Ben,

I've just finished converting my blog to jekyll and loved the look of your theme, so I decided to start using it! In doing so I began tinkering with the theme to better suit my needs, which resulted in me adding a number of features to my version of the theme. The summary of these features are;

  • Adding Reddit as a social share option
  • Adding previous/next post links at the bottom of each post
  • Adding comment counts to the blog index
  • Adding a lightbox include
  • Adding a quote include
  • Updated Disqus functionality to work across multiple domains
  • Disabling of google analytics when not in production

I've included the changes in my personal github pages repo, if you're keen on any of the above listed modifications let me know and I'd be happy to battle harden the changes and make them more configurable as required, as well as creating some proper single-feature PRs for you to peruse.

All secondary pages aren't loading the base css

I'm going to echo what others are saying. All of the secondary pages (everything but home) isn't loading the css.
I fixed that by changing the css link in includes > head to a static link to "http://myurl.com/css/main.css" but now whenever I click on a link (from any page other than home) it just appends that page name to the current URL. It seems to be that the {{"URL" | prepend }} tags aren't working (but I'm totally new to jekyll so IDK)
My site is live if you want to check it out http://pastorryanhayden.com

markdown format in the overview page

in the overview page, the contents of the post will be shown as the raw format, if there are some markdown format block, it will only show the original text, so could we add markdown highlight in the overview page?

screen shot 2017-07-12 at 2 36 17 pm

Incompatible with current version?

Hey there. Tried installing your nice-looking theme but hit this error:

[user@system project]$ jekyll build
Configuration file: /path/project/_config.yml
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/specification.rb:2007:in `raise_if_conflicts': Unable to activate jekyll-archives-2.0.0, because jekyll-3.0.0.pre.beta9 conflicts with jekyll (~> 2.4) (Gem::LoadError)
    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/specification.rb:1176:in `activate'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems.rb:186:in `rescue in try_activate'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems.rb:183:in `try_activate'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:132:in `rescue in require'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:144:in `require'
    from /Library/Ruby/Gems/2.0.0/gems/jekyll-3.0.0.pre.beta9/lib/jekyll/plugin_manager.rb:30:in `block in require_gems'
    from /Library/Ruby/Gems/2.0.0/gems/jekyll-3.0.0.pre.beta9/lib/jekyll/plugin_manager.rb:27:in `each'
    from /Library/Ruby/Gems/2.0.0/gems/jekyll-3.0.0.pre.beta9/lib/jekyll/plugin_manager.rb:27:in `require_gems'
    from /Library/Ruby/Gems/2.0.0/gems/jekyll-3.0.0.pre.beta9/lib/jekyll/plugin_manager.rb:19:in `conscientious_require'
    from /Library/Ruby/Gems/2.0.0/gems/jekyll-3.0.0.pre.beta9/lib/jekyll/site.rb:98:in `setup'
    from /Library/Ruby/Gems/2.0.0/gems/jekyll-3.0.0.pre.beta9/lib/jekyll/site.rb:49:in `initialize'
    from /Library/Ruby/Gems/2.0.0/gems/jekyll-3.0.0.pre.beta9/lib/jekyll/commands/build.rb:30:in `new'
    from /Library/Ruby/Gems/2.0.0/gems/jekyll-3.0.0.pre.beta9/lib/jekyll/commands/build.rb:30:in `process'
    from /Library/Ruby/Gems/2.0.0/gems/jekyll-3.0.0.pre.beta9/lib/jekyll/commands/build.rb:18:in `block (2 levels) in init_with_program'
    from /Library/Ruby/Gems/2.0.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `call'
    from /Library/Ruby/Gems/2.0.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `block in execute'
    from /Library/Ruby/Gems/2.0.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `each'
    from /Library/Ruby/Gems/2.0.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `execute'
    from /Library/Ruby/Gems/2.0.0/gems/mercenary-0.3.5/lib/mercenary/program.rb:42:in `go'
    from /Library/Ruby/Gems/2.0.0/gems/mercenary-0.3.5/lib/mercenary.rb:19:in `program'
    from /Library/Ruby/Gems/2.0.0/gems/jekyll-3.0.0.pre.beta9/bin/jekyll:17:in `<top (required)>'
    from /usr/bin/jekyll:23:in `load'
    from /usr/bin/jekyll:23:in `<main>'
[user@system project]$

Pagination

The pagination seems to be incorrect because it allows you to page backwards to Page2, and the page forward button allows you to go to page 1.
screen shot 2016-05-31 at 1 41 57 pm
screen shot 2016-05-31 at 1 41 43 pm

Error with `bundle install`

I'm having an issue installing the site, specifically when I run bundle install. I tried installing yajl-ruby 1.2.1 and got an error as well, while installing the latest version of yawl-ruby gives no issues (except that I still can't run bundle install.

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

Anything I can do about it? Thank you!

Search

Could you please add search functionality?

Seeking help: using standard github pages syntax highlighting

Hi,

First off, great theme and I'm trying to use it for my blog hosted on github pages (https://oliviervaillancourt.com). So far, pretty good success. My first blog post has javascript fenced code blocks and it works great as far as syntax highlighting goes.

However, my second blog post (currently in the works) as c# fenced block. I would prefer to be able to apply the standard Rouge syntax highlighting.

I've tried the following so far without success. Note that I am running these tests locally and not as a github pages deployment

  • comment out the #highlightjs_theme: "monokai-sublime" from _config.yml
  • add highlighter: rouge in _config.yml
  • remove the <link> tag that is is pulling down the monokay-sublime css

I'm always getting no highlighting at all

Any help would be greatly appreciated

Thanks, Olivier

How do I make the code snippet flush with the rest of the text?

I don't know anything about front-end so excuse for my dumb question

Setting

img {
    [...]
    width: 100%;
}

seemed to make the images wide enough. But I can't find the setting for the highlight boxes. If that's not possible: how do I make the text field wider in general?

Telegram

Please add telegram social media icon

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.