styles
use template inheritance
remove line in base template
history page
trim string, check if already in history