Drupal 8 XML Sitemap only contains Homepage

Help! After trying to track down the cause of my crappy site SEO stats, I discovered that my sitemap.xml was crap after I rebuilt and migrated my site to D8. 

Drupal 8 Sitemap XML empty


As you can see, only "homepage" is indexed for some tortuous reason. I ended up solving all of this without rewrites or patches but what I had to do did not match the standard install and config steps available on the interwebs.

Drupal Wunderground data not updating

Been digging around and testing patches for a day or so to resolve why the weather data is not updating on my D8 site. The forecast data of the time I installed the module and enabled my Weather Underground API key still remains the same. I did notice that updating/clearing all caches triggered a pull of current data. Ahhhh - just jam over to admin/config/development/performance and set the "Page cache maximum age" to a day and the <clear all caches> should get triggered daily, right? 


In-line parallax demo

.parallax { /* The image used */ background-image: url("http://new.jonathansantos.com/sites/all/themes/santos/img/background-images/cactus.jpg"); /* Set a specific height */ height: 500px; /* Create the parallax scrolling effect */ background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; }



---------------------- Just a line to break stuff up ----------------------------------







Responsive snippets

Snatch and grab... these are just just my grab bag.


Declare an image style inline 

<style type="text/css">
img {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;



Hide those blocks at break points:

<div class="hidden-xs hidden-sm">


<h1 class="text-align-center">Working on</h1>


In case of emergency, break glass.... the inline style sheet.


Embedding other peoples Picasa slidesshows

I just got this to work!

Find a webpage that has the Picasa slideshow you want to grab for your page or node.

Paste it into a TEXT editor, just in case any funky characters sneak through

"View Source" on the bad boy and look for the object tag.

Look for the "feed=" declaration and grab the path that comes after.

Change Width and Height to suit your needs.

Create/Edit your Drupal article