Pablo Molina

Lorem ipsum dolor sit amet, consectetur adipiscing elit

🧪 Testing a theme, or something else

This is how things should work, or at least how we think they should. That's the programmer paradox: do not expect thing to behave as you prefer, because they won't, unless you don't want to.

Por favor, no pulses el botón, no es realmente un botón, es extremadamente peligroso. Recuerda que los programadores no son de fiar. Please do not press the button, it is not a real button, it is extremely dangerous. Remember that you should not trust programmers.

Integer sed dignissim magna. Nunc sagittis massa eu ligula pharetra imperdiet. Sed metus nisi, pretium et aliquam non, vehicula nec velit. Fusce non libero scelerisque, consequat ligula sit amet, varius quam. Donec elementum et ante eget faucibus. Sed convallis ex ut diam porttitor convallis. Praesent quis massa et orci semper varius quis nec velit.

Nam turpis nulla, tristique a elementum at, efficitur vel magna. Ut porttitor quis lorem eget commodo. Curabitur lobortis aliquet tortor eget tempus. Vestibulum venenatis vestibulum urna, sit amet iaculis felis convallis id. Morbi elementum ullamcorper sapien, nec egestas nunc ullamcorper ut. In nulla sem, dictum vel dictum non, luctus a lectus.

Sed malesuada odio eros. Vivamus tristique tristique leo, vel finibus magna posuere eget. Nunc vitae auctor erat. Nullam suscipit sapien in velit tincidunt, non lacinia diam tincidunt. Integer tincidunt sed est quis tristique. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse bibendum turpis vel dignissim congue.

function loadCSSTheme() {
  const theme = getCSSTheme();

  const linkElement = document.createElement('link');
  linkElement.rel = 'stylesheet';
  linkElement.href = theme;

  linkElement.addEventListener('load', () => {
    document.body.style.transition = 'opacity ease 500ms';

    setTimeout(() => {
      document.body.style.opacity = '1';
      document.body.style.overflow = 'auto';

      const handleTransitionEnd = () => {
        document.body.removeEventListener('transitionend', handleTransitionEnd);
        document.body.style.transition = '';
      };

      document.body.addEventListener('transitionend', handleTransitionEnd);
    }, 100);
  });

  linkElement.addEventListener('error', () => {
    if (theme !== DEFAULT_THEME) {
      loadCSSTheme(DEFAULT_THEME);
    }
  });

  document.head.appendChild(linkElement);
}
  • Create a list by starting a line with +, -, or *
  • Sub-lists are made by indenting 2 spaces:
    • Marker character change forces new list start:
      • Ac tristique libero volutpat at
      • Facilisis in pretium nisl aliquet
      • Nulla volutpat aliquam velit
  • Very easy!

Ordered:

  1. Lorem ipsum dolor sit amet
  2. Consectetur adipiscing elit
  3. Integer molestie lorem at massa

Ferro femina

Hoc magni nocte enim non sinuataque, Atque, gens. Sed abit herbarum epulis, ad cepit et feror, adicit! Cura vertitur, deo fuit, abstuleris suum gramina videntur praeterita: quidem alma, dum quod non et.

Option Description
data path to data files to supply the data that will be passed into templates.
engine engine to be used for processing templates. Handlebars is the default.
ext extension to be used for dest files.
Minion Stormtroopocat