Browse Source

Updated blog rss

master
Yigit Colakoglu 3 years ago
parent
commit
67e9b0d2d2
2 changed files with 10 additions and 18 deletions
  1. +5
    -11
      assets/js/main.js
  2. +5
    -7
      index.html

+ 5
- 11
assets/js/main.js View File

@ -27,37 +27,31 @@ jQuery(document).ready(function($) {
/* jQuery RSS - https://github.com/sdepold/jquery-rss */
$("#rss-feeds").rss(
//Change this to your own rss feeds
"https://blog.yigitcolakoglu.com/rss.xml",
"https://fr1nge.xyz/index.xml",
{
// how many entries do you want?
// default: 4
// valid values: any integer
limit: 3,
limit: 2,
// the effect, which is used to let the entries appear
// default: 'show'
// valid values: 'show', 'slide', 'slideFast', 'slideSynced', 'slideFastSynced'
effect: 'slideFastSynced',
// will request the API via https
// default: false
// valid values: false, true
ssl: true,
effect: 'slide',
// outer template for the html transformation
// default: "<ul>{entries}</ul>"
// valid values: any string
layoutTemplate: "<div class='items'>{entries}</div>",
layoutTemplate: "<div class='items'>{entries}</div>",
// inner template for each entry
// default: '<li><a href="{url}">[{author}@{date}] {title}</a><br/>{shortBodyPlain}</li>'
// valid values: any string
entryTemplate: '<div class="item"><h3 class="title"><a href="{url}" target="_blank">{title}</a></h3><div><p>{shortBodyPlain}</p><a class="more-link" href="{url}" target="_blank"><i class="fas fa-external-link-alt"></i>Read more</a></div></div>'
entryTemplate: '<div class="item"><h3 class="title"><a href="{url}" target="_blank">{title}</a></h3><div><p>{shortBodyPlain}</p><a class="more-link" href="{url}" target="_blank"><i class="fas fa-external-link-alt"></i>Read more</a></div></div>'
}
);


+ 5
- 7
index.html View File

@ -20,9 +20,9 @@
<!-- Global CSS -->
<link rel="stylesheet" href="assets/plugins/bootstrap/css/bootstrap.min.css">
<!-- github calendar css -->
<link rel="stylesheet" href="assets/plugins/github-calendar/dist/github-calendar.css">
<!-- github activity css -->
<link rel="stylesheet" href="https://unpkg.com/github-calendar@latest/dist/github-calendar-responsive.css"/>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/octicons/2.0.2/octicons.min.css">
<link rel="stylesheet" href="assets/plugins/github-activity/github-activity-0.1.5.min.css">
@ -183,9 +183,6 @@
</div><!--//github-graph-->
<div id="ghfeed" class="ghfeed">
</div><!--//ghfeed-->
</div><!--//secton-inner-->
</section><!--//section-->
</div><!--//primary-->
@ -363,8 +360,9 @@
<script type="text/javascript" src="assets/plugins/popper.min.js"></script>
<script type="text/javascript" src="assets/plugins/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="assets/plugins/jquery-rss/dist/jquery.rss.min.js"></script>
<!-- github calendar plugin -->
<script type="text/javascript" src="assets/plugins/github-calendar/dist/github-calendar.min.js"></script>
<script
src="https://unpkg.com/github-calendar@latest/dist/github-calendar.min.js">
</script>
<!-- github activity plugin -->
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/mustache.js/0.7.2/mustache.min.js"></script>
<script type="text/javascript" src="assets/plugins/github-activity/github-activity-0.1.5.min.js"></script>


Loading…
Cancel
Save