This question is specific to Magento 2.
I am attempting to inject additional stylesheets, Javascript and a template block into every page in a Magento 2 store. I have a functioning module which I have called additionalcontent. I am just unable to wrap my head around how to inject the block into the frontend.
In Magento 1 I would include additionalcontent.xml inside the theme layout with the following
<?xml version="1.0"?>
<layout version="0.1.0">
<default>
<reference name="head">
<action method="addCss"><stylesheet>xzy/additionalstyles.css</stylesheet></action>
<action method="addJs"><script>xzy/additionaljavascript.js</script></action>
</reference>
<reference name="after_body_start">
<block type="core/template" before="-" as="additionaBlock" name="additionaBlock" template="xzy/additionalblock.phtml" />
</reference>
</default>
</layout>
Note, I am only attempting to inject a template block not generate a frontend URL/route.
Does anyone have an example of how to accomplish this in Magento 2?