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 c93ece0 commit abdf625
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 @@ -86,6 +86,17 @@ locals.OLSKPagePublicConstants = {
ROCOBulletinProject: 'Kommit',
}) %>

<!-- 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 abdf625

Please sign in to comment.