我已经发布了自己的博客以进行网络验证:https://affectionate-allen-e5fa8f.netlify.com
Github:https://github.com/OmarGonD/omargonzalesdiaz
我今天创建的新帖子是:2019/4/26。
我可以访问博客部分:
https://affectionate-allen-e5fa8f.netlify.com/blog/
但是我看不到我的帖子。它是今天的日期。
我需要对此进行硬编码吗?
Rmd文件:
---
title: "react-class-based-components"
author: "omar gonzales diaz"
date: "4/26/2019"
output: html_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
## R Markdown
This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see <http://rmarkdown.rstudio.com>.
When you click the **Knit** button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:
HUGO版本:0.24。
configuration.toml中的永久链接
[Permalinks]
blog = "/blog/:year/:month/:day/:filename/"
日期格式为configuration.toml
Format dates with Go's time formatting
date_format = "January 2, 2006"
configuration.toml
baseurl = "/"
title = "omargonzalesdiaz"
theme = "hugo-universal-theme"
languageCode = "es-es"
# Site language. Available translations in the theme's `/i18n` directory.
defaultContentLanguage = "es"
# Enable comments by entering your Disqus shortname
disqusShortname = "omargonzalesdiaz"
# Enable Google Analytics by entering your tracking code
googleAnalytics = "UA-54695178-1"
# Define the number of posts per page
paginate = 10
[menu]
# Main menu
[[menu.main]]
name = "Inicio"
url = "/"
weight = 1
[[menu.main]]
name = "Blog"
url = "/blog/"
weight = 2
[[menu.main]]
name = "contacto"
url = "/contacto/"
weight = 4
# Top bar social links menu
[[menu.topbar]]
weight = 1
name = "GitHub"
url = "https://github.com/devcows/hugo-universal-theme"
pre = "<i class='fa fa-2x fa-github'></i>"
[[menu.topbar]]
weight = 3
name = "Twitter"
url = "http://twitter.com"
pre = "<i class='fa fa-2x fa-twitter'></i>"
[[menu.topbar]]
weight = 4
name = "Email"
url = "mailto:oma.gonzales@gmail.com"
pre = "<i class='fa fa-2x fa-envelope'></i>"
[params]
viewMorePostLink = "/blog/"
author = "DevCows"
defaultKeywords = ["devows", "hugo", "go"]
defaultDescription = "Site template made by devcows using hugo"
# Twitter
twitter = "GoHugoIO"
twitterImage = "img/twitter-default.png"
# Google Maps API key (if not set will default to not passing a key.)
googleMapsApiKey = "AIzaSyCFhtWLJcE30xOAjcbSFi-0fnoVmQZPb1Y"
# Style options: default (light-blue), blue, green, marsala, pink, red, turquoise, violet
style = "blue"
# Since this template is static, the contact form uses www.formspree.io as a
# proxy. The form makes a POST request to their servers to send the actual
# email. Visitors can send up to a 1000 emails each month for free.
#
# What you need to do for the setup?
# - set your email address under 'email' below
# - upload the generated site to your server
# - send a dummy email yourself to confirm your account
# - click the confirm link in the email from www.formspree.io
# - you're done. Happy mailing!
#
# Enable the contact form by entering your Formspree.io email
email = "your@email.com"
contact_form_ajax = false
about_us = "<p>Página personal de omargonzalesdiaz.</p>"
copyright = "Copyright (c) 92019, omargonzalesdiaz; todos los derechos reservados."
# Format dates with Go's time formatting
date_format = "January 2, 2006"
logo = "img/logo.png"
logo_small = "img/logo-small.png"
address = """<p><strong>Lima - Perú</strong>"""
[Permalinks]
blog = "/blog/:year/:month/:day/:filename/"
# Enable or disable top bar with social icons
[params.topbar]
enable = true
text = """<p class="hidden-sm hidden-xs">Contact us on +420 777 555 333 or hello@universal.com.</p>
<p class="hidden-md hidden-lg"><a href="#" data-animate-hover="pulse"><i class="fa fa-phone"></i></a>
<a href="#" data-animate-hover="pulse"><i class="fa fa-envelope"></i></a>
</p>
"""
# Enable and disable widgets for the right sidebar
[params.widgets]
categories = true
tags = true
search = true
[params.carousel]
enable = true
# All carousel items are defined in their own files. You can find example items
# at 'exampleSite/data/carousel'.
# For more informtion take a look at the README.
[params.features]
enable = true
# All features are defined in their own files. You can find example items
# at 'exampleSite/data/features'.
# For more informtion take a look at the README.
[params.testimonials]
enable = false
# All testimonials are defined in their own files. You can find example items
# at 'exampleSite/data/testimonials'.
# For more informtion take a look at the README.
title = "Testimonials"
subtitle = "We have worked with many clients and we always like to hear they come out from the cooperation happy and satisfied. Have a look what our clients said about us."
[params.see_more]
enable = true
icon = "fa fa-file-code-o"
title = "Do you want to see more?"
subtitle = "We have prepared for you more than 40 different HTML pages, including 5 variations of homepage."
link_url = "#"
link_text = "Check other homepages"
[params.clients]
enable = false
# All clients are defined in their own files. You can find example items
# at 'exampleSite/data/clients'.
# For more informtion take a look at the README.
title = "Our Clientss"
subtitle = ""
[params.recent_posts]
enable = true
title = "Del Blog"
subtitle = "Entradas más recientes."