Skip to main content

Ralsina.Me — Roberto Alsina's website

No, no hablo de eso.

Así que Bergoglio es pa­pa. Sí, Bergoglio, el que di­jo que en el mat­ri­mo­nio igual­i­tario "está la en­vidia del De­mo­nio que pre­tende de­stru­ir la im­a­gen de Dios", porque la im­a­gen de su dios dis­crim­i­na.

Sí, el Bergoglio que dice que ve pros­ti­tu­tas de once años en la calle, pero en vez de hac­er una de­nun­cia poli­cial lo que hace es un dis­cur­so.

Si, el Bergoglio que di­jo "hay dos proyec­tos: el de nues­tra fe, que re­conoce a Dios co­mo Padre, y hay jus­ti­cia y hay her­manos. Y otro proyec­to, el que en­gañosa­mente nos pone el en­e­migo, que es el del Dios ausen­te, la ley del más fuerte, o el del rel­a­tivis­mo sin brúju­la" co­mo si porque no creo en su dios soy una her­ramien­ta de su de­mo­ni­o, y mala per­son­a.

Sí, el Bergoglio que di­jo "Lo pe­or que le puede pasar a un ser hu­mano es de­jarse ar­ras­trar in­ade­cuada­mente por las luces de la razón", y que ob­vi­a­mente ha re­sis­ti­do esa tentación por más de se­ten­ta años.

Si, ese Bergoglio aho­ra es el sober­a­no ab­so­lu­to de la ciu­dad es­ta­do del Vat­i­cano. No, no ten­go na­da que de­cir al re­spec­to.

Standalone Search in Nikola

This has been in the mas­ter branch of Niko­la for a while but on­ly now have I tried to ful­ly in­te­grate it, and pol­ish all (most) of the rough edges.

By de­fault, Niko­la comes with sup­port for search forms us­ing Google and Duck­duck­go. Some peo­ple dis­ap­prove of them for dif­fer­ent rea­sons 1 so there was a re­quest about sup­port­ing a stand­alone search en­gine.

The best of breed of those things seems to be Tipue so that's what I sup­port­ed.

To use this, you need to en­able a plug­in, and do some con­fig­u­ra­tion changes.

The plugin is called task_localsearch and you can find it in the Nikola source tree

Suppose your site is in a folder called mysite then to enable this plugin you need to create mysite/plugins and then copy task_localsearch.plugin and task_localsearch in there.

Then, in your site's conf.py find these options and change them accordingly:

SEARCH_FORM = """
<span class="navbar-form pull-left">
<input type="text" id="tipue_search_input">
</span>"""

ANALYTICS = """
<script type="text/javascript" src="/assets/js/tipuesearch_set.js"></script>
<script type="text/javascript" src="/assets/js/tipuesearch.js"></script>
<script type="text/javascript">
$(document).ready(function() {
    $('#tipue_search_input').tipuesearch({
        'mode': 'json',
        'contentLocation': '/assets/js/tipuesearch_content.json',
        'showUrl': false
    });
});
</script>
"""

EXTRA_HEAD_DATA = """
<link rel="stylesheet" type="text/css" href="/assets/css/tipuesearch.css">
<div id="tipue_search_content" style="margin-left: auto; margin-right: auto; padding: 20px;"></div>
"""

How does it work? Here's a de­mo site for you to try!

I would not rec­om­mend do­ing this for a big site, since it may load a mul­ti­-megabyte javascript file when you search, but for small to medi­um sites, it may be ok.

1

My own rea­son for dis­ap­prov­ing of duck­duck­go site search? It finds noth­ing.

Unfortunate Phrases by Famous People

Like this one:

When your coun­try is at risk, ev­ery­thing is al­lowed, ex­cept not de­fend­ing it.

—José de San Martín

For non-ar­gen­tini­an read­er­s, imag­ine if that was said by a com­bi­na­tion Wash­ing­ton/Lin­coln lev­el fig­ure fa­mous for lead­ing three coun­tries to get rid of the spaniards and al­so for a list of ad­vices for young ladies, whose bi­og­ra­phy is ti­tled "The saint with a sword".

So, any­way, he said that. And that phrase is bad, bad, bad, un­for­tu­nate and hor­ri­ble.

It's that bad be­cause while a nice slo­gan to ral­ly farm­ers in­to be­com­ing sol­diers in the army of a na­tion that does­n't quite ex­ist yet, it's aw­ful ad­vice for peo­ple who live in an ac­tu­al na­tion, with ac­tu­al laws, an ac­tu­al army, and peo­ple who wor­ship what­ev­er crap you hap­pened to say, José.

It starts with the flaky premise "when your coun­try is at risk" which means too lit­tle, or too much, de­pend­ing on just how much you need an ex­cuse to do some­thing hor­ri­ble.

If you re­al­ly want to be a bad per­son, I am sure you can con­vince your­self that gays, im­mi­grants, for­eign­er­s, mus­lim­s, jew­s, the young are all a dan­ger to your coun­try, some­how. You just need to stretch "dan­ger" a lit­tle or maybe push "y­our coun­try" some­what.

And once you jumped that hur­dle, and you are con­vinced your "coun­try" is "at risk", why, then you can do any­thing. Un­sur­pris­ing­ly this stupid line is of­ten framed in mil­i­tary of­fices, and is a tired trope in mil­i­tary speech­es.

I quite like José de San Martín. This quote, how­ev­er, is un­for­tu­nate.


Contents © 2000-2020 Roberto Alsina