Skip to content

Commit

Permalink
Setup OSFeedbox
Browse files Browse the repository at this point in the history
  • Loading branch information
rosano committed Dec 20, 2023
1 parent 701ee55 commit 43ebb35
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions os-app/open-vitrine/ui-view.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,17 @@ locals.OLSKPagePublicConstants = {
ROCOBulletinProject: 'Joybox',
}) %>

<!-- OSFeedbox -->
<script src="https://olsk.rosano.ca/OSFeedbox/master/main.js"></script>
<div class="parent-OSFeedbox"></div>
<script type="text/javascript">
OSFeedbox.load({
parent: document.querySelector('.parent-OSFeedbox'),
feed: '<%= process.env.ROCO_FEED_URL %>',
limit: 5,
});
</script>

<%- include('../../node_modules/OLSKEdit/main.ejs', {
OLSKEditURL: process.env.OLSK_REPO_URL,
}) %>
Expand Down

0 comments on commit 43ebb35

Please sign in to comment.