Skip to content
Discussion options

You must be logged in to vote

Separate them. The script should be in document

document:
	head: |
		<script src='https://www.purpleair.com/pa.widget.js?key=12NYKPH9M2HG0AO9&module=US_EPA_AQI&conversion=C0&average=10&layer=US_EPA_AQI&container=PurpleAirWidget_127367_module_US_EPA_AQI_conversion_C0_average_10_layer_US_EPA_AQI'></script>

pages:
	- name: Test
	  columns:
	  	 - size: full
	  	   widgets:
				- type: html
          		  source: |
            	  	<div id='PurpleAirWidget_127367_module_US_EPA_AQI_conversion_C0_average_10_layer_US_EPA_AQI'>Loading PurpleAir Widget...</div>

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by seancote
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants