giving synthesis thesis own layout with only simple backlink to site. Also cleaned up conversion errors

This commit is contained in:
2021-11-19 00:43:33 +02:00
parent fe83998def
commit 1b560ed57d
20 changed files with 4350 additions and 4675 deletions

View File

@ -0,0 +1,15 @@
class PagesController < ApplicationController
include HighVoltage::StaticPage
layout :layout_for_page
private
def layout_for_page
if params[:id].to_s.starts_with?("synthesis/")
'synthesis'
else
'application'
end
end
end