Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

More cruft removal

  • Loading branch information...
commit 72b8b4c70344f9c14796348457668264b40c369e 1 parent 9c36132
Jay Shirley jshirley authored
Showing with 8 additions and 6 deletions.
  1. +1 −3 shared/site/html.tt
  2. +7 −3 shared/site/shared/base.tt
4 shared/site/html.tt
View
@@ -15,9 +15,8 @@ END;
<html lang="[% page.language %]">
<head>
<meta charset="utf-8">
- <title>Codepeek[% IF page.title %]: [% page.title %] [% ELSE %], the Enlightened Pastebin[% END %]</title>
+ <title>[% IF page.title %]</title>
<meta http-equiv="Content-Language" content="[% page.language %]">
- <meta name="google-site-verification" content="xkULRZIWgERjfbepNJTesWRHke3-mMBxPRCax8AUEkw" />
<meta name="description" content="[% page.description %]">
[%
# Add all javascript refs in page.head.scripts (see page.body.scripts)
@@ -61,6 +60,5 @@ END;
[%
END;
%]
- [% PROCESS site/instrumentation/googleanalytics.tt %]
</body>
</html>
10 shared/site/shared/base.tt
View
@@ -24,8 +24,8 @@ END;
IF !page || !ref(page) == 'HASH';
page = {};
END;
-DEFAULT page.title = '';
-DEFAULT page.description = 'An enlightened pastebin for standalone or project use.';
+DEFAULT page.title = design || c.config.name;
+DEFAULT page.description = 'StyleGuide Default Description';
DEFAULT page.layout = 'default';
DEFAULT page.header = 'default';
DEFAULT page.nav = 'default';
@@ -45,6 +45,10 @@ DEFAULT page.crumbs = [];
DEFAULT page.content_class = 'content';
# Include global macros/vars/set up per implementation
-TRY; PROCESS site/global.tt; CATCH file; END;
+TRY;
+ PROCESS site/global.tt;
+CATCH file;
+ IF c.debug; file; END;
+END;
~%]
Please sign in to comment.
Something went wrong with that request. Please try again.