This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const type = "website"; | |
| const url = "https://bobross.com"; | |
| const title = "My Amazing Blog on The Joy of Painting"; | |
| const description = "Articles focused on the beautiful art of landscape painting."; | |
| const mainImage = "/a-lovely-image.png"; | |
| export default (meta) => { | |
| return [ | |
| { | |
| hid: "description", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <div class=""> | |
| <ul v-if="pages" class="list-reset"> | |
| <li class="inline-block bg-white hover:bg-blue-lightest border mr-1"> | |
| <a href="#" | |
| class="no-underline text-grey-darker block py-3 px-4" | |
| :class="{'bg-grey-lightest text-grey cursor-not-allowed': currentPage == 1}" | |
| @click.prevent="getPreviousPage">Previous</a> | |
| </li> | |
| <li v-for="(page, index) in range" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Git repository may not allow root to pull down updates | |
| # Pull updates where $user is allowed to read/write remote. | |
| # command line: | |
| su -s /bin/sh $user -c 'cd /var/www/html/src && /usr/bin/git pull origin master' | |
| # crontab (by executing sudo opens up root crontab) | |
| sudo crontab -e | |
| # every 1 minute pull changes (if any) | |
| */1 * * * * su -s /bin/sh $user -c 'cd /var/www/html/src && /usr/bin/git pull origin master' |