mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
use siteUrl setting instead of absoluteUrl()
This commit is contained in:
parent
07bc61e938
commit
fced403b9f
1 changed files with 4 additions and 3 deletions
|
@ -1,12 +1,13 @@
|
|||
var RSS = Npm.require('rss');
|
||||
|
||||
var getMeta = function(url) {
|
||||
var siteUrl = getSetting('siteUrl', Meteor.absoluteUrl());
|
||||
return {
|
||||
title: getSetting('title'),
|
||||
description: getSetting('tagline'),
|
||||
feed_url: Meteor.absoluteUrl(url),
|
||||
site_url: Meteor.absoluteUrl(),
|
||||
image_url: Meteor.absoluteUrl('img/favicon.png'),
|
||||
feed_url: siteUrl+url,
|
||||
site_url: siteUrl,
|
||||
image_url: siteUrl+'img/favicon.png',
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue