Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fixes compilation error. Fixes #127
Browse files Browse the repository at this point in the history
  • Loading branch information
Shashi Kiran Deshetti authored and Shashi Kiran Deshetti committed May 16, 2019
1 parent 6e23183 commit 1967c1a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 18 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Factly Media & Research LLC",
"private": true,
"scripts": {
"dev": "cross-env NODE_ENV=development API_URI=https://api.factly.in CLIENT_ID=factly nodemon server/index.js --watch server",
"dev": "cross-env NODE_ENV=development API_URI=https://api.factly.in CLIENT_ID=factly-telugu nodemon server/index.js --watch server",
"build": "nuxt build",
"start": "cross-env NODE_ENV=production API_URI=https://api.factly.in CLIENT_ID=factly-telugu DOMAIN_HOSTNAME=https://telugu.factly.in node server/index.js",
"generate": "nuxt generate",
Expand Down
25 changes: 8 additions & 17 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,6 @@ export default {
Hero,
SocialSharingHorizontal,
SocialSharingVertical
},
head() {
return {
//Following needs to be dynamically updated from Organization entity
title: 'Factly Telugu - Making Public Data Meaningful',
meta: [
{ property: 'og:description', content: 'FACTLY is a platform that brings you various aspects of life that directly or indirectly affects the common man but with ONE difference. Each news story on FACTLY is backed by factual evidence/data that is either available in the public domain or that is collated/gathered/collected using tools such as the Right to Information (RTI).'}
],
htmlAttrs: {
class: "has-navbar-fixed-top"
}
}
},
data() {
return {
Expand Down Expand Up @@ -113,21 +101,24 @@ export default {
// (storyFirst, storySecond) =>
// storyFirst.published_date < storySecond.published_date ? 1 : -1
// );
return {
story: sortedStories
};
},
head () {
head() {
return {
title: "Factly",
meta: [
{ hid: 'og:title', name: 'og:title', content: "Factly" },
// { hid: 'og:url', name: 'og:url', content: process.env.domainHostname + $nuxt.$route.name},
{ hid: 'og:image', name: 'og:image', content: this.prodBaseUrl + BackgroundImage }
]
}
{ hid: 'og:image', name: 'og:image', content: this.prodBaseUrl + BackgroundImage },
{ property: 'og:description', content: 'FACTLY is a platform that brings you various aspects of life that directly or indirectly affects the common man but with ONE difference. Each news story on FACTLY is backed by factual evidence/data that is either available in the public domain or that is collated/gathered/collected using tools such as the Right to Information (RTI).'}
],
htmlAttrs: {
class: "has-navbar-fixed-top"
}
};
}
};
</script>

0 comments on commit 1967c1a

Please sign in to comment.