Skip to content

Commit

Permalink
Añadido post y revisado estilo
Browse files Browse the repository at this point in the history
  • Loading branch information
ferochera committed Mar 7, 2012
1 parent 8fedce0 commit dab7535
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 16 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Expand Up @@ -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

Expand Down
32 changes: 17 additions & 15 deletions sass/custom/_styles.scss
Expand Up @@ -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;
Expand All @@ -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%);
}
}
}
Expand All @@ -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');
// }
}
}
Expand Up @@ -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
```

<p>Enlaces interantes:</p><ul><li><a href="http://www.nslu2-linux.org/" title="NSLU2-LINUX">NSLU2-LINUX</a><i></i></li></ul>
@@ -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.

<!--more-->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.

0 comments on commit dab7535

Please sign in to comment.