Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Parametrize project specific things
Browse files Browse the repository at this point in the history
  • Loading branch information
Reda Lemeden committed Feb 11, 2015
1 parent a4eb69b commit d6e8d37
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 29 deletions.
17 changes: 0 additions & 17 deletions assets/images/neat-logo.svg

This file was deleted.

3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ module.exports = function (dest, ctx) {
},
groups: {
"undefined": "General",
},
"shortcutIcon": "http://sass-lang.com/favicon.ico"
}
};

ctx.view = extend(require("./view.json"), ctx.view);
Expand Down
1 change: 0 additions & 1 deletion view.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"accentColor": "red",
"annotations": {
"function": ["description", "parameter", "return", "example", "throws", "since", "see", "todo", "link", "author"],
"mixin": ["description", "parameter", "output", "example", "throws", "since", "see", "todo", "link", "author"],
Expand Down
1 change: 1 addition & 0 deletions views/layouts/base.swig
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<meta name="description" content="{{ package.description }}">
<link href="http://fonts.googleapis.com/css?family=Nunito:300,700" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Titillium+Web:400,400italic,600italic,600,700,700italic,900,300italic,300,200italic,200" rel="stylesheet" type="text/css">
<link rel="shortcut icon" type="image/x-icon" href="{{ view.faviconPath }}" />
<title>{{ package.title }}</title>
<link rel="stylesheet" href="assets/css/main.css" />
</head>
Expand Down
6 changes: 3 additions & 3 deletions views/partials/footer.swig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div data-role="content-wrapper" id="footer">
<a href="http://thoughtbot.com"><img class="footer-logo" src="https://raw.githubusercontent.com/thoughtbot/presskit/master/logo/circle/png/robot_only_default.png"/></a>
<a href="{{ view.company.homepage }}"><img class="footer-logo" src="{{ view.company.logoPath }}"/></a>

<p>Neat is maintained and funded by <a href="http://thoughtbot.com/">thoughtbot</a>.</p>
<p>Neat is maintained and funded by <a href="{{ view.company.homepage }}">{{ view.company.name }}</a>.</p>
<p>Documentation generated using <a href="http://sassdoc.com/">SassDoc</a>.</p>
<p>The names and logos for thoughtbot are trademarks of thoughtbot, inc. © <span id="year">2012-2015</span></p>
<p>The names and logos are trademarks of {{ view.company.name }} © <span id="year">{{ view.company.trademarkYears }}</span></p>
</div>
4 changes: 2 additions & 2 deletions views/partials/javascript.swig
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<script src="assets/js/main.js"></script>
<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-1485842-21']);
_gaq.push(['_setDomainName', 'bourbon.io']);
_gaq.push(['_setAccount', '{{ view.analytics.account }}']);
_gaq.push(['_setDomainName', '{{ view.analytics.domain}}']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
Expand Down
8 changes: 4 additions & 4 deletions views/partials/navigation.swig
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@

<nav class="side-nav">
<ul class="social">
<li><a class="github" href="https://github.com/thoughtbot/neat">GitHub / Install</a></li>
<li><a class="twitter" href="https://twitter.com/bourbonsass">Twitter</a></li>
<li><a class="gitter" href="https://gitter.im/thoughtbot/neat">Gitter</a></li>
<li><a class="github" href="{{ view.links.github }}">GitHub / Install</a></li>
<li><a class="twitter" href="{{ view.links.twitter }}">Twitter</a></li>
<li><a class="gitter" href="{{ view.links.gitter }}">Gitter</a></li>
</ul>

<a class="logo-container" href="/">
<img alt="Bourbon Neat Logo" class="logo" src="assets/images/neat-logo.svg">
<img alt="{{ view.libraryName }} Logo" class="logo" src="{{ view.logoPath }}">
</a>

<ul class="list">
Expand Down

0 comments on commit d6e8d37

Please sign in to comment.