Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homepage "Menu Links" (via Update Index.vue file) / Will "Custom Domain replace the Default Domain in the Sitemap" via "Netlify Plugins" Page / Simple "Method to Add/Enable "Page Search" field with "tag or category filters" in the "center aligned menu" show in the "menu and sidebar"" / Add "Footer with Multiple Website Policies" with "Social Links" - Import Starter Template jamdocs from Netlify Gridsome Forestry.io #20

Open
thedigitalkern opened this issue Apr 5, 2020 · 0 comments

Comments

@thedigitalkern
Copy link

thedigitalkern commented Apr 5, 2020

  1. I have to manually update Menu Links (https://forestry.io/docs/editing/menus/) - Update Index.vue file (https://github.com/thedigitalkern/jamdocs/src/pages/Index.vue) in GitHub each time as sidebar does not auto fetch the links added in forestry.io starter template. Any solution around this?

  2. Will the custom domain replace the Default Domain in the sitemap generated? How can I configure sitemap options - Previous step of Adding the below code to netlify.toml file is done - https://github.com/thedigitalkern/jamdocs/netlify.toml as seen here -

[[plugins]] package = "@netlify/plugin-sitemap"

But how to configure sitemap.xml URL list from "https://jamdocs.netlify.com/advertising-online-seo/" currently visible on "https://optimistic-darwin-d71561.netlify.com/sitemap.xml" with custom domain which I haven't added as of yet. For example, the sitemap should reflect like so

<url><loc>https://thedigitalkern/advertising-online-seo/</loc></url>
<url><loc>https://thedigitalkern/image-optimisation-softwares/</loc></url>

It asks me to add the following code via https://app.netlify.com/teams/(your_netlify_username)/plugins but I am not sure what file do I need to add the code in - the exact file path https://github.com/thedigitalkern/jamdocs/(file_path)?

Configuration
Configure the plugin buildDir.
Default is the publish directory from your site build settings.

[[plugins]] package = "@netlify/plugin-sitemap"
[plugins.inputs] buildDir = "public"

  1. Any simple method to add/enable post search field with tag or category filters in the center-aligned menu without much of manual coding from Algolia free plan (if any) or alternative. Add "Search Icon on all pages" and "visible on the sidebar"? An example can be seen here https://weskyprint.com/portfolio.html - text tabs with posts filtered according to the category defined in the menu

  2. How to Add footer with Privacy Policy, Terms of Service, Disclaimer, Security Policy along with social links on every page with copyright message at the end of each page. What file path/s needs to be edited?

  3. Lastly, how to add Customised 404 page with a return to home link?

Note: Please attach the full path of the file in case you prefer to edit in GitHub repository or complete steps in Forestry.io Also can you update the ReadMe.md file?

Note to Viewers: For friends who are facing same problems - Kindly Use the direct links to add or modify the code with code structure correctly defined. Might face compile errors due to incorrect formatting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant