You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/02/22 00:35:06 UTC

[GitHub] [skywalking-website] Jtrust opened a new pull request #224: Update config.toml

Jtrust opened a new pull request #224:
URL: https://github.com/apache/skywalking-website/pull/224


   - [x] Modify the last mod timestamp
   
   ```
   enableGitInfo (false)
   Enable .GitInfo object for each page (if the Hugo site is versioned by Git). This will then update the Lastmod parameter for each page using the last git commit date for that content file.
   ```
   ```
   :fileModTime
   Fetches the date from the content file’s last modification timestamp.
   ```
   [More about the doc](https://gohugo.io/variables/git/#lastmod)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-website] wu-sheng commented on a change in pull request #224: Update config.toml

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on a change in pull request #224:
URL: https://github.com/apache/skywalking-website/pull/224#discussion_r579960977



##########
File path: config.toml
##########
@@ -10,7 +10,7 @@ theme = ["docsy"]
 enableGitInfo = true
 
 [frontmatter]
-lastmod = []
+lastmod = [":git", ":fileModTime", "lastmod", ":default"]

Review comment:
       FYI @kezhenxu94 We are bringing the timestamp back, but according to the correct time flag.
   
   This PR is still hold because we are trying to find out a way for the docs build, it is cloned from other repos, so, all above seems not working.
   
   The reason we are trying this is for SEO, this header is notifying the search engine, this page changed.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-website] wu-sheng merged pull request #224: Update config.toml

Posted by GitBox <gi...@apache.org>.
wu-sheng merged pull request #224:
URL: https://github.com/apache/skywalking-website/pull/224


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org