8
0
Fork 0

Merge pull request #444 from aidan-casey/master

Added "buttons" option under the HTML object.
Dieser Commit ist enthalten in:
Stéphane Goetz 2017-04-11 13:54:05 +02:00 committet von GitHub
Commit 37c3dfe830
2 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen

Datei anzeigen

@ -38,6 +38,8 @@
"twitter": [],
"links": {
},
"buttons": {
},
"google_analytics": false,
"piwik_analytics": false,

Datei anzeigen

@ -27,6 +27,9 @@
foreach ($page['entry_page'] as $key => $node) {
echo '<a href="' . $node . '" class="Button Button--primary Button--hero">' . $key . '</a>';
}
foreach ($params['html']['buttons'] as $name => $link ) {
echo '<a href="' . $link . '" class="Button Button--secondary Button--hero">' . $name . '</a>';
}
?>
<div class="clearfix"></div>
</div>