Moving to Jekyll

Fight against Sass

November 26, 2015

Original

Blogging is hard

This is actually my first post in the blog, at the beggining I was thinking about write about which plugins I used, or how I migrate all the post from Ghost to Jekyll Now but of course, not everything went out as I expected.

handle
This is me trying to handle all this code.

I was like that picture, cuz I just jumped from the step of FORK the repo, to dive inside the sass and the cool plugins in ruby without read anything. Usually I’m that kind of humans that the first thing they do is read the fucking manual, but not this time, so I ended learning how the plugins works (actually there’s like 5 supported plugins) and also how sass works with the mixins in the hard way, Exploding everything, was really a pain in the codeass see the many ways that you can put a simple mediaqueries in the sass files.

EZ PZ
Me now, after 3 hours of trying to fix the things, 3 commit/merge mistakes, and after deleted the blog, re uploaded, and merged all the CSS by hand...

Besides my dumbness, when I was looking at the json file, that makes Ghost when you use the export option in labs, surprise it’s totally non human readable, yes, I’m a human and not able to read that kind of shit

So playing the smart guy, mounted back my local Ghost and manually copy paste the content of each post, wasn’t the best idea ever but at least sound like a exit to the problem…

One thing kids, when you are using features that are under the category labs it’s pretty common that… well… FAIL, yep, I get and error from the jsonso I “LOST” all my previous post, nothing important really. Now I must CSSING the blog for mobile and fix another couple of things…

But seems that from now on, will be quite easy. Later in a next amazing post maybe I will speak more about this wilderness that’s making a blog.

“Patience you must have, Young padawan”

yoda

Now I need to piss, I have been in front of the computer like centuries.

Hacer un blog es difícil

Este es en realidad mi primer post en el blog, al principio estaba pensando en escribir sobre los plugins que usé, o cómo migré todos los posts de Ghost a Jekyll Now pero claro, no todo salió como esperaba.

manejando
Este soy yo tratando de manejar todo este código.

Era exactamente como ese gif, porque salté directo del paso de hacer FORK del repo a meterme de cabeza en el sass y los plugins de ruby sin leer nada. Normalmente soy de esas personas que lo primero que hace es leer el puto manual, pero esta vez no, así que terminé aprendiendo cómo funcionan los plugins (en realidad hay como 5 soportados) y cómo funciona sass con los mixins a las malas, rompiendo todo. Fue un dolor en el culo del código ver las mil formas en que se puede meter un simple mediaqueries en los archivos de sass.

facilísimo
Yo ahora, después de 3 horas tratando de arreglar todo, 3 errores de commit/merge, y tras borrar el blog, volver a subirlo, y mergear todo el CSS a mano...

Además de mi torpeza, cuando estaba mirando el archivo json que genera Ghost cuando usás la opción de exportar en labs, sorpresa: es totalmente ilegible para humanos, sí, soy humano y no puedo leer ese tipo de porquería

Así que haciéndome el listo, levanté de nuevo mi Ghost local y copié y pegué manualmente el contenido de cada post, no era la mejor idea del mundo pero al menos parecía una salida al problema…

Una cosa, chicos: cuando usás features que están bajo la categoría labs es bastante común que… bueno… FALLEN, sí, me dio un error en el json y “PERDÍ” todos mis posts anteriores, nada importante en realidad. Ahora tengo que hacerle el CSS al blog para mobile y arreglar un par de cosas más…

Pero parece que de ahora en adelante va a ser bastante fácil. Más adelante, en algún increíble post futuro, quizás hable más sobre esta locura que es hacer un blog.

“Paciencia debes tener, joven padawan”

yoda

Ahora necesito ir al baño, llevo siglos frente a la computadora.