Git Product home page Git Product logo

ruhoh.com's Introduction

ruhoh.com's People

Contributors

plusjade avatar

Stargazers

Eduardo avatar  avatar Eduardo Herrera avatar David Jewsbury avatar Kyle Lee avatar Andrew Wright avatar Kristian Bjørnard avatar Bicherele avatar wuhaixing avatar Dean Reilly avatar  avatar Jordi Barrère avatar Eoin Ó Conchúir avatar Yanxi Wang avatar Mdev avatar M.W. avatar Bernd Wunder avatar Dray avatar  avatar Neil James avatar Jonathan Tsai avatar  avatar  avatar roadlabs avatar David Andrzejewski avatar Eduardo Pareja Tobes avatar Lan Qingyong avatar Alex Jarvis avatar Ting Wang avatar Oguz Bilgic avatar Jack Schwarz avatar  avatar  avatar Andy Wang avatar Jack Pooley avatar Yuya Saito avatar Ding Yi avatar

Watchers

AJ ONeal avatar Steven Allen avatar James Cloos avatar redmallorca avatar

ruhoh.com's Issues

Publish to Github

I am a beginner and can't publish to github by using to the instructions here: http://ruhoh.com/docs/2/ and here: http://ruhoh.com/docs/2/publish/. Ruhoh looks like a fantastic tool, so I'd really appreciate getting this to work.

mkdir ruhoh-site
cd ruhoh-site
touch Gemfile
echo "source \"https://rubygems.org\"" >> Gemfile
echo "gem 'ruhoh', \"~> 2\"" >> Gemfile
bundle install
git clone https://github.com/ruhoh/theme-bootstrap-2.git theme-bootstrap-2

Create config.yml in ruhoh-site directory with these lines:

"theme-bootstrap-2" :
  "use" : "theme"

Download the github script:

mkdir plugins
cd plugins
git clone https://gist.github.com/6667109.git github.rb

Make it a git directory:

cd ..
git init
git remote add origin https://github.com/USERNAME/ruhoh-site

Publish to github:

bundle exec ruhoh publish github
WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.9.0
Using theme: "theme-bootstrap-2"
/var/lib/gems/1.9.1/gems/ruhoh-2.5/lib/ruhoh.rb:137:in `require': cannot load such file -- /home/nacnudus/ruhoh-site/plugins/github.rb (LoadError)
    from /var/lib/gems/1.9.1/gems/ruhoh-2.5/lib/ruhoh.rb:137:in `block in setup_plugins'
    from /var/lib/gems/1.9.1/gems/ruhoh-2.5/lib/ruhoh.rb:137:in `each'
    from /var/lib/gems/1.9.1/gems/ruhoh-2.5/lib/ruhoh.rb:137:in `setup_plugins'
    from /var/lib/gems/1.9.1/gems/ruhoh-2.5/lib/ruhoh/client.rb:45:in `initialize'
    from /var/lib/gems/1.9.1/gems/ruhoh-2.5/bin/ruhoh:34:in `new'
    from /var/lib/gems/1.9.1/gems/ruhoh-2.5/bin/ruhoh:34:in `<top (required)>'
    from /usr/local/bin/ruhoh:23:in `load'
    from /usr/local/bin/ruhoh:23:in `<main>'

I tried moving github.rb to a publish directory as described in the file itself:

mkdir plugins/publish
mv plugins/github.rb publish/
WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.9.0
Using theme: "theme-bootstrap-2"
/var/lib/gems/1.9.1/gems/ruhoh-2.5/lib/ruhoh.rb:137:in `require': cannot load such file -- /home/nacnudus/ruhoh-site/plugins/publish/github.rb (LoadError)
    from /var/lib/gems/1.9.1/gems/ruhoh-2.5/lib/ruhoh.rb:137:in `block in setup_plugins'
    from /var/lib/gems/1.9.1/gems/ruhoh-2.5/lib/ruhoh.rb:137:in `each'
    from /var/lib/gems/1.9.1/gems/ruhoh-2.5/lib/ruhoh.rb:137:in `setup_plugins'
    from /var/lib/gems/1.9.1/gems/ruhoh-2.5/lib/ruhoh/client.rb:45:in `initialize'
    from /var/lib/gems/1.9.1/gems/ruhoh-2.5/bin/ruhoh:34:in `new'
    from /var/lib/gems/1.9.1/gems/ruhoh-2.5/bin/ruhoh:34:in `<top (required)>'
    from /usr/local/bin/ruhoh:23:in `load'
    from /usr/local/bin/ruhoh:23:in `<main>'

Make navbar links crisp, not blurry

Links in the nav bar inherit a dark text-shadow from the bootstrap CSS. Now that the background has been overridden to be light, not dark, and the color has become a dark green, the text-shadow just makes the text look headache-inducingly blurry. I would have suggested a fix directly to style.css, but it looks to be unforkable.

In line 57 of themes/twitter/stylesheets/style.css, just add this line: text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.7); (or similar)

in windows, html path is wrong.

    E:\Dray\Git\Sites\ruhohblog1>rackup -p 9292
    0 posts to process.
    0 drafts to process.
    �[32m6/6 pages processed.�[0m
    E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/ruhoh-0.0.3/lib/ruhoh/
    utils.rb:23:in `parse_file': File not found: E:/Dray/Git/Sites/ruhohblog1/E:/Dra
    y/Git/Sites/ruhohblog1/_templates/themes/twitter/layouts/default.html (RuntimeEr
    ror)
            from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/ruhoh-0.0
    .3/lib/ruhoh/parsers/layouts.rb:11:in `block in generate'
            from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/ruhoh-0.0
    .3/lib/ruhoh/parsers/layouts.rb:9:in `each'
            from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/ruhoh-0.0
    .3/lib/ruhoh/parsers/layouts.rb:9:in `generate'
            from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/ruhoh-0.0
    .3/lib/ruhoh/db.rb:26:in `update'
            from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/ruhoh-0.0
    .3/lib/ruhoh/db.rb:39:in `block in update!'
            from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/ruhoh-0.0
    .3/lib/ruhoh/db.rb:38:in `each'
            from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/ruhoh-0.0
    .3/lib/ruhoh/db.rb:38:in `update!'
            from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/ruhoh-0.0
    .3/lib/ruhoh/previewer.rb:18:in `initialize'
            from E:/Dray/Git/Sites/ruhohblog1/config.ru:10:in `new'
            from E:/Dray/Git/Sites/ruhohblog1/config.ru:10:in `block in <main>'
            from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rack-1.4.
    1/lib/rack/builder.rb:51:in `instance_eval'
            from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rack-1.4.
    1/lib/rack/builder.rb:51:in `initialize'
            from E:/Dray/Git/Sites/ruhohblog1/config.ru:1:in `new'
            from E:/Dray/Git/Sites/ruhohblog1/config.ru:1:in `<main>'
            from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rack-1.4.
    1/lib/rack/builder.rb:40:in `eval'
            from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rack-1.4.
    1/lib/rack/builder.rb:40:in `parse_file'
            from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rack-1.4.
    1/lib/rack/server.rb:200:in `app'
            from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rack-1.4.
    1/lib/rack/server.rb:301:in `wrapped_app'
            from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rack-1.4.
    1/lib/rack/server.rb:252:in `start'
            from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rack-1.4.
    1/lib/rack/server.rb:137:in `start'
            from E:/Dray/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rack-1.4.
    1/bin/rackup:4:in `<top (required)>'
            from E:/Dray/RailsInstaller/Ruby1.9.2/bin/rackup:19:in `load'
            from E:/Dray/RailsInstaller/Ruby1.9.2/bin/rackup:19:in `<main>'

Compiled RSS and asset path

The ideal way to reference an image would be: ![Pupil]({{urls.media}}/Pupil.png)

This allows us to have images work in development mode and for the published blog. Great! However, this doesn't work well for rss because the path is relative: /assets/media/Pupil.png

I would expect that the generated rss.xml would preappend the production_url to urls. Otherwise, what is the expected use case?

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.