Static Site into SilverStripe Theme

Create a new folder to hold your new theme, lets call it pandaux!

mkdir themes/pandaux

Update config.yml to point to your new theme.

vi yourSite/mysite/_config/config.yml

Declaire your theme as the new theme:

SSViewer:
  theme: 'pandaux'

Add the default SilverStripe theme structure:

/pandaux
/templates
/Includes/
/Layout/
/Page.ss

Paste your new markup into Page.ss and rebuild and flush your site.

yoursite.dev/dev/build?flush=1

Update all file references to point to $ThemeDir as the source, for example replace all references.

<img src="images/logo.png" /> becomes <img src="$ThemeDir/images/logo.png" />

Refresh your page, and you should get your new theme's template.