pugのclass, idとsassの記法

index.pug

		h1 アメダス
		p.image: img.rain(
			src="/image/rain.png"
		)

style.sass

body
	background-color: lightgray
	color: blue
.rain
	width: 300px
	height: 225px

[vagrant@localhost python]$ pug index.pug

rendered index.html