diff --git a/_config.yml b/_config.yml index 628c0a7..c4a6570 100644 --- a/_config.yml +++ b/_config.yml @@ -54,7 +54,7 @@ markdown: rdiscount pygments: false # default python pygments have been replaced by pygments.rb paginate: 10 # Posts per page on the blog index -pagination_dir: blog # Directory base for pagination URLs eg. /blog/page/2/ +pagination_dir: / # Directory base for pagination URLs eg. /blog/page/2/ recent_posts: 5 # Posts in the sidebar Recent Posts section #excerpt_link: "Leer más →" # "Continue reading" link text at the bottom of excerpted articles diff --git a/sass/custom/_styles.scss b/sass/custom/_styles.scss index baa9a45..578b288 100644 --- a/sass/custom/_styles.scss +++ b/sass/custom/_styles.scss @@ -17,16 +17,17 @@ pre { font-size: 16px; } body > header { - h1 { - &:after { - content: ""; - position: absolute; left: 0; right: 10%; top: 10%; - height: image-height('xarxes.png'); - @include replace-text('xarxes.png', 80%, 80%); - } - } +// h1 { +// &:after { +// content: ""; +// position: absolute; +// left: 0; right: 10%; top: 10%; +// height: image-height('xarxes.png'); +// @include replace-text('xarxes.png', 80%, 80%); +// } +// } @media only screen and (min-width: 400px) { - font-size: .82em; + font-size: .82em; hgroup { left: -3.7em; width: 22em; @@ -36,7 +37,8 @@ body > header { position: absolute; top: -.15em; right: -.8em; left: auto; width: 1.6em; height: 1.6em; - @include background-size(100%); + //@include background-size(100%); + @include background-size(90%); } } } @@ -50,10 +52,10 @@ body > header { hgroup { padding: 0 0 1em; } } @media only screen and (min-width: 990px) { - font-size: 1.1em; - h1:after { - width: image-width('xarxes.png'); - height: image-height('xarxes.png'); - } + font-size: 1.5em; +// h1:after { +// width: image-width('xarxes.png'); +// height: image-height('xarxes.png'); +// } } } diff --git a/source/_posts/2008-06-09-Cron-en-NSLU2-con-UNSLUNG.markdown b/source/_posts/2008-06-09-Cron-en-NSLU2-con-UNSLUNG.markdown index 761b641..e8ec16e 100644 --- a/source/_posts/2008-06-09-Cron-en-NSLU2-con-UNSLUNG.markdown +++ b/source/_posts/2008-06-09-Cron-en-NSLU2-con-UNSLUNG.markdown @@ -13,5 +13,6 @@ bash-3.2# cat dyndnsupd # Set the interval of the next IP check using a crontab entry. # Once every 15 minutes is good for a home server. */15 * * * * root /opt/bin/dyndnsupdate.sh &>/dev/null +```

Enlaces interantes:

diff --git a/source/_posts/2012-03-07-migrando-el-blog-de-s9y-a-octopress.markdown b/source/_posts/2012-03-07-migrando-el-blog-de-s9y-a-octopress.markdown new file mode 100644 index 0000000..fb76a86 --- /dev/null +++ b/source/_posts/2012-03-07-migrando-el-blog-de-s9y-a-octopress.markdown @@ -0,0 +1,62 @@ +--- +layout: post +title: "Migrando el blog de s9y a Octopress" +date: 2012-03-07 23:36 +comments: true +categories: +- Cuaderno-Laboratorio +keywords: migración a octopress, ruby, rvm +--- +Después de constatar que realmente utilizar un sistema dinámico no me depara beneficios visibles y revisar otros sistemas de creación estática como [nanoc](http://nanoc.stoneship.org) finalmente, y tras conocer [octopres](http://octopress.org) a través del [blog de David Rubert](http://www3.uji.es/~vrubert), decidí mudar mi blog que estaba creado con [Serendipity-sy9](http://www.s9y.org) + +Las etapas de este proceso han sido 3: + +1. Poner en marcha el sistema de desarrollo. + +2. Importar los posts previos. + +3. Adaptar octopress. + +Vamos a ver éstas etapas con más detalle: + +##Preparar el sistema de desarrollo + +Procedimiento funcionando en ubuntu 10.04.4 + Instalar rvm $ bash -s stable (“rvm.sh”) ver web + rvm requirements + sudo aptitude install los requirements + rvm pkg install zlib + export C_INCLUDE_PATH=$HOME/.rvm/usr/include + rvm pkg install openssl + adecuar .bash_profile y/o .bashrc para shells con y sin login + rvm install 1.9.3 --with-zlib-dir=$rvm_path/usr --with-openssl-dir=$rvm_path/usr + + En lmde aparecía error respecto a zlib al usar gem y se soluciónó siguiendo las instrucciones de rvm notes + + rvm get head && rvm 1.9.3 + rvm use 1.9.3 --default + gem install bundler (.gemrc con proxy si toca) + + bajar octopress (git clone) e ir a su carpeta y hacer bundle install para que se bajen todas las gemas que toquen + +Si alguna vez da problemas de versiones hacer “bundle exec rake generate” en vez de solo “rake generate” + +##Importar los posts previos + +usar el importador ... + +##Adaptar + +* Adaptar los paths + +* Traducir algunos elementos (incluir algunos en _config.yaml) + +* adaptar algunos estilos + +##Por hacer... + +* que se vean las categorías de un artículo. Ver [http://anthonydigirolamo.github.com/blog/2011/09/21/octopress-category-listing/](http://anthonydigirolamo.github.com/blog/2011/09/21/octopress-category-listing/)) + +* crear una nube de tags en la sidebar. Ver [https://github.com/tokkonopapa/octopress-tagcloud](https://github.com/tokkonopapa/octopress-tagcloud) + +#Todavía estamos trabajando en ello.