-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cria yml e templates para uso do pkgdown.
- Loading branch information
Showing
3 changed files
with
71 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
template: | ||
params: | ||
bootswatch: lumen | ||
path: inst/templates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<div class="copyright"> | ||
<p>{{#package}}Developed by {{{authors}}}.{{/package}}</p> | ||
</div> | ||
|
||
<div class="pkgdown"> | ||
<p>Site built with <a href="http://hadley.github.io/pkgdown/">pkgdown</a>.</p> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
|
||
<title>{{{pagetitle}}} • {{#site}}{{title}}{{/site}}</title> | ||
|
||
<!-- jquery --> | ||
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script> | ||
<!-- Bootstrap --> | ||
{{#yaml}} | ||
{{#bootswatch}}<link href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.7/{{.}}/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous">{{/bootswatch}} | ||
{{^bootswatch}}<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">{{/bootswatch}} | ||
{{/yaml}} | ||
|
||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script> | ||
|
||
<!-- Font Awesome icons --> | ||
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous"> | ||
|
||
|
||
<!-- pkgdown --> | ||
<link href="{{#site}}{{root}}{{/site}}pkgdown.css" rel="stylesheet"> | ||
<script src="{{#site}}{{root}}{{/site}}jquery.sticky-kit.min.js"></script> | ||
<script src="{{#site}}{{root}}{{/site}}pkgdown.js"></script> | ||
|
||
<!-- custom css --> | ||
<link href="{{#site}}{{root}}{{/site}}pkgdown-style.css" rel="stylesheet"> | ||
|
||
<!-- mathjax --> | ||
<script src='https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script> | ||
<script type="text/x-mathjax-config"> | ||
MathJax.Hub.Config({ | ||
"HTML-CSS": { | ||
scale: 85, | ||
/* preferredFont: "STIX" /* padrão do MathJax */ | ||
availableFonts: ["TeX"], /* */ | ||
} | ||
}); | ||
</script> | ||
|
||
<!--[if lt IE 9]> | ||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script> | ||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> | ||
<![endif]--> | ||
|
||
{{#yaml}}{{#ganalytics}} | ||
<!-- Google analytics --> | ||
<script> | ||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | ||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | ||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | ||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); | ||
|
||
ga('create', '{{.}}', 'auto'); | ||
ga('send', 'pageview'); | ||
|
||
</script> | ||
|
||
{{/ganalytics}} | ||
{{/yaml}} |