PT Existem dois métodos para renderizar arquivos ou strings no Hexo: o método assíncrono hexo.render.render e o método síncrono hexo.render.renderSync
"usar o hexo" em português pode ser traduzido nas seguintes palavras/frases inglês:
PT Existem dois métodos para renderizar arquivos ou strings no Hexo: o método assíncrono hexo.render.render e o método síncrono hexo.render.renderSync
EN There are two methods for rendering files or strings in Hexo: the asynchronous hexo.render.render method and the synchronous hexo.render.renderSync method
português | inglês |
---|---|
renderizar | render |
arquivos | files |
ou | or |
assíncrono | asynchronous |
strings | strings |
hexo | hexo |
PT Box é um container usado para processar arquivos em um diretório específico. O Hexo usa dois Boxes diferentes: hexo.source e hexo.theme. O primeiro é usado para processar o diretório source e o segundo para processar o diretório theme.
EN Box is a container used for processing files in a specified folder. Hexo uses two different boxes: hexo.source and hexo.theme. The former is used to process the source folder and the latter to process the theme folder.
português | inglês |
---|---|
box | box |
é | is |
container | container |
diferentes | different |
source | source |
theme | theme |
hexo | hexo |
PT Existem dois métodos para renderizar arquivos ou strings no Hexo: o método assíncrono hexo.render.render e o método síncrono hexo.render.renderSync
EN There are two methods for rendering files or strings in Hexo: the asynchronous hexo.render.render method and the synchronous hexo.render.renderSync method
português | inglês |
---|---|
renderizar | render |
arquivos | files |
ou | or |
assíncrono | asynchronous |
strings | strings |
hexo | hexo |
PT Box é um container usado para processar arquivos em um diretório específico. O Hexo usa dois Boxes diferentes: hexo.source e hexo.theme. O primeiro é usado para processar o diretório source e o segundo para processar o diretório theme.
EN Box is a container used for processing files in a specified folder. Hexo uses two different boxes: hexo.source and hexo.theme. The former is used to process the source folder and the latter to process the theme folder.
português | inglês |
---|---|
box | box |
é | is |
container | container |
diferentes | different |
source | source |
theme | theme |
hexo | hexo |
PT Com o lançamento do Hexo 3, o servidor foi separado do módulo principal. Para começar a usar o servidor, primeiro você deve instalar o pacote hexo-server.
EN With the release of Hexo 3, the server has been separated from the main module. To start using the server, you will first have to install hexo-server.
português | inglês |
---|---|
lançamento | release |
separado | separated |
módulo | module |
você | you |
hexo | hexo |
PT Se seu código é complicado ou se você deseja publicá-lo no registro do NPM, recomendamos usar um plugin. Primeiro, crie um diretório dentro do diretório node_modules. O nome desse diretório deve começar com hexo- ou o Hexo irá ignorá-lo.
EN If your code is complicated or if you want to publish it to the NPM registry, we recommend using a plugin. First, create a folder in the node_modules folder. The name of this folder must begin with hexo- or Hexo will ignore it.
português | inglês |
---|---|
se | if |
código | code |
é | is |
complicado | complicated |
ou | or |
recomendamos | we recommend |
plugin | plugin |
crie | create |
diretório | folder |
npm | npm |
hexo | hexo |
PT Com o lançamento do Hexo 3, o servidor foi separado do módulo principal. Para começar a usar o servidor, primeiro você deve instalar o pacote hexo-server.
EN With the release of Hexo 3, the server has been separated from the main module. To start using the server, you will first have to install hexo-server.
português | inglês |
---|---|
lançamento | release |
separado | separated |
módulo | module |
você | you |
hexo | hexo |
PT Se seu código é complicado ou se você deseja publicá-lo no registro do NPM, recomendamos usar um plugin. Primeiro, crie um diretório dentro do diretório node_modules. O nome desse diretório deve começar com hexo- ou o Hexo irá ignorá-lo.
EN If your code is complicated or if you want to publish it to the NPM registry, we recommend using a plugin. First, create a folder in the node_modules folder. The name of this folder must begin with hexo- or Hexo will ignore it.
português | inglês |
---|---|
se | if |
código | code |
é | is |
complicado | complicated |
ou | or |
recomendamos | we recommend |
plugin | plugin |
crie | create |
diretório | folder |
npm | npm |
hexo | hexo |
PT Uma vez instalado o Hexo, execute os seguintes comandos para inicializar um site com Hexo em um diretório <folder>.
EN Once Hexo is installed, run the following commands to initialize Hexo in the target <folder>.
português | inglês |
---|---|
instalado | installed |
diretório | folder |
gt | gt |
hexo | hexo |
lt | lt |
PT Com o gerenciamento de recursos habilitado, o Hexo criará um diretório sempre que você fizer uma nova postagem com o comando hexo new [layout] <title>
EN With asset folder management enabled, Hexo will create a folder every time you make a new post with the hexo new [layout] <title> command
português | inglês |
---|---|
habilitado | enabled |
diretório | folder |
você | you |
postagem | post |
layout | layout |
gt | gt |
recursos | asset |
hexo | hexo |
lt | lt |
PT O Hexo possui um poderoso sistema de plugins, o que facilita a extensão das funcionalidades sem modificar o código-fonte do módulo central. Existem dois tipos de plugins no Hexo:
EN Hexo has a powerful plugin system, which makes it easy to extend functions without modifying the source code of the core module. There are two kinds of plugins in Hexo:
português | inglês |
---|---|
poderoso | powerful |
funcionalidades | functions |
sem | without |
modificar | modifying |
central | core |
hexo | hexo |
fonte | source |
código | code |
PT Você também precisará listar seu plugin como uma dependência no arquivo package.json da raiz de sua instância do Hexo para que o Hexo a detecte e carregue.
EN You’ll also need to list your plugin as a dependency in the root package.json of your hexo instance in order for Hexo to detect and load it.
português | inglês |
---|---|
listar | list |
plugin | plugin |
dependência | dependency |
package | package |
json | json |
raiz | root |
instância | instance |
detecte | detect |
carregue | load |
precisar | need |
hexo | hexo |
PT Executado após a inicialização do Hexo – este será executado logo após hexo.init ser concluído.
EN Executed after Hexo is initialized – this will run right after hexo.init completes.
português | inglês |
---|---|
hexo | hexo |
PT Uma vez instalado o Hexo, execute os seguintes comandos para inicializar um site com Hexo em um diretório <folder>.
EN Once Hexo is installed, run the following commands to initialize Hexo in the target <folder>.
português | inglês |
---|---|
instalado | installed |
diretório | folder |
gt | gt |
hexo | hexo |
lt | lt |
PT Com o gerenciamento de recursos habilitado, o Hexo criará um diretório sempre que você fizer uma nova postagem com o comando hexo new [layout] <title>
EN With asset folder management enabled, Hexo will create a folder every time you make a new post with the hexo new [layout] <title> command
português | inglês |
---|---|
habilitado | enabled |
diretório | folder |
você | you |
postagem | post |
layout | layout |
gt | gt |
recursos | asset |
hexo | hexo |
lt | lt |
PT O Hexo possui um poderoso sistema de plugins, o que facilita a extensão das funcionalidades sem modificar o código-fonte do módulo central. Existem dois tipos de plugins no Hexo:
EN Hexo has a powerful plugin system, which makes it easy to extend functions without modifying the source code of the core module. There are two kinds of plugins in Hexo:
português | inglês |
---|---|
poderoso | powerful |
funcionalidades | functions |
sem | without |
modificar | modifying |
central | core |
hexo | hexo |
fonte | source |
código | code |
PT Você também precisará listar seu plugin como uma dependência no arquivo package.json da raiz de sua instância do Hexo para que o Hexo a detecte e carregue.
EN You’ll also need to list your plugin as a dependency in the root package.json of your hexo instance in order for Hexo to detect and load it.
português | inglês |
---|---|
listar | list |
plugin | plugin |
dependência | dependency |
package | package |
json | json |
raiz | root |
instância | instance |
detecte | detect |
carregue | load |
precisar | need |
hexo | hexo |
PT Executado após a inicialização do Hexo – este será executado logo após hexo.init ser concluído.
EN Executed after Hexo is initialized – this will run right after hexo.init completes.
português | inglês |
---|---|
hexo | hexo |
PT Todos os recursos do GitHub Flavored Markdown são suportados. Você pode até usar a maioria dos plugins do Octopress no Hexo.
EN All features of GitHub Flavored Markdown are supported, including most Octopress plugins.
português | inglês |
---|---|
recursos | features |
github | github |
markdown | markdown |
suportados | supported |
plugins | plugins |
PT É fácil construir um tema para o Hexo - você só precisa criar um no diretório. Para começar a usar o seu tema, modifique a configuração theme do arquivo _config.yml do seu site. Um tema deve ter a seguinte estrutura:
EN It’s easy to build a Hexo theme - you just have to create a new folder. To start using your theme, modify the theme setting in your site’s _config.yml. A theme should have the following structure:
português | inglês |
---|---|
modifique | modify |
site | site |
estrutura | structure |
s | s |
hexo | hexo |
PT Além de simplificar o seu tema, você também pode tentar usar o Fragment Caching, que foi introduzido no Hexo 2.7.
EN Aside from simplifying your theme, you may also try Fragment Caching, which was introduced in Hexo 2.7.
português | inglês |
---|---|
simplificar | simplifying |
tema | theme |
também | also |
tentar | try |
introduzido | introduced |
hexo | hexo |
PT Se o seu plugin for relativamente simples, recomenda-se usar um script. Tudo o que você precisa fazer é colocar seus arquivos JavaScript no diretório scripts e o Hexo irá carregá-los durante a inicialização.
EN If your plugin is relatively simple, it’s recommended to use a script. All you need to do is put your JavaScript files in the scripts folder and Hexo will load them during initialization.
português | inglês |
---|---|
se | if |
plugin | plugin |
relativamente | relatively |
um | a |
javascript | javascript |
recomenda | recommended |
hexo | hexo |
PT Você pode usar as ferramentas oficiais fornecidas pelo Hexo para acelerar o desenvolvimento:
EN You can make use of the official tools provided by Hexo to accelerate development:
português | inglês |
---|---|
você | you |
usar | use |
ferramentas | tools |
oficiais | official |
desenvolvimento | development |
hexo | hexo |
PT Quando você encontra alguns problemas ao usar o Hexo, você pode encontrar as soluções em Solução de problemas ou nos perguntar no GitHub ou Google Group. Se você não conseguir encontrar a resposta, abra uma nova issue no GitHub.
EN When you encounter some problems when using Hexo, you can find the solutions in Troubleshooting or ask me on GitHub or Google Group. If you can’t find the answer, please report it on GitHub.
português | inglês |
---|---|
ou | or |
github | github |
group | group |
hexo | hexo |
solução de problemas | troubleshooting |
PT Todos os recursos do GitHub Flavored Markdown são suportados. Você pode até usar a maioria dos plugins do Octopress no Hexo.
EN All features of GitHub Flavored Markdown are supported, including most Octopress plugins.
português | inglês |
---|---|
recursos | features |
github | github |
markdown | markdown |
suportados | supported |
plugins | plugins |
PT É fácil construir um tema para o Hexo - você só precisa criar um no diretório. Para começar a usar o seu tema, modifique a configuração theme do arquivo _config.yml do seu site. Um tema deve ter a seguinte estrutura:
EN It’s easy to build a Hexo theme - you just have to create a new folder. To start using your theme, modify the theme setting in your site’s _config.yml. A theme should have the following structure:
português | inglês |
---|---|
modifique | modify |
site | site |
estrutura | structure |
s | s |
hexo | hexo |
PT Além de simplificar o seu tema, você também pode tentar usar o Fragment Caching, que foi introduzido no Hexo 2.7.
EN Aside from simplifying your theme, you may also try Fragment Caching, which was introduced in Hexo 2.7.
português | inglês |
---|---|
simplificar | simplifying |
tema | theme |
também | also |
tentar | try |
introduzido | introduced |
hexo | hexo |
PT Se o seu plugin for relativamente simples, recomenda-se usar um script. Tudo o que você precisa fazer é colocar seus arquivos JavaScript no diretório scripts e o Hexo irá carregá-los durante a inicialização.
EN If your plugin is relatively simple, it’s recommended to use a script. All you need to do is put your JavaScript files in the scripts folder and Hexo will load them during initialization.
português | inglês |
---|---|
se | if |
plugin | plugin |
relativamente | relatively |
um | a |
javascript | javascript |
recomenda | recommended |
hexo | hexo |
PT Você pode usar as ferramentas oficiais fornecidas pelo Hexo para acelerar o desenvolvimento:
EN You can make use of the official tools provided by Hexo to accelerate development:
português | inglês |
---|---|
você | you |
usar | use |
ferramentas | tools |
oficiais | official |
desenvolvimento | development |
hexo | hexo |
PT Quando você encontra alguns problemas ao usar o Hexo, você pode encontrar as soluções em Solução de problemas ou nos perguntar no GitHub ou Google Group. Se você não conseguir encontrar a resposta, abra uma nova issue no GitHub.
EN When you encounter some problems when using Hexo, you can find the solutions in Troubleshooting or ask me on GitHub or Google Group. If you can’t find the answer, please report it on GitHub.
português | inglês |
---|---|
ou | or |
github | github |
group | group |
hexo | hexo |
solução de problemas | troubleshooting |
PT O Hexo tem um poderoso sistema de plugins. Você pode instalar mais plugins como: Jade/Pug, CoffeeScript e etc....
EN Features powerful APIs for limitless extensibility. Various plugins are available to support most template engines (EJS, Pug, Nunjucks, and many others). Easily integrate with existing NPM packages (Babel, PostCSS, Less/Sass, etc).
português | inglês |
---|---|
poderoso | powerful |
plugins | plugins |
etc | etc |
PT Diretório de Scaffold. Quando você cria uma nova postagem, o Hexo cria um arquivo baseado no scaffold.
EN Scaffold folder. When you create a new post, Hexo bases the new file on the scaffold.
português | inglês |
---|---|
quando | when |
você | you |
postagem | post |
hexo | hexo |
PT Diretório de Temas. O Hexo gera um site estático combinando o conteúdo do site com o tema.
EN Theme folder. Hexo generates a static website by combining the site contents with the theme.
português | inglês |
---|---|
diretório | folder |
o | the |
gera | generates |
um | a |
estático | static |
conteúdo | contents |
hexo | hexo |
PT Gerar arquivos estáticos com o Hexo é bastante fácil e rápido.
EN Generating static files with Hexo is quite easy and fast.
português | inglês |
---|---|
gerar | generating |
arquivos | files |
é | is |
bastante | quite |
fácil | easy |
rápido | fast |
hexo | hexo |
PT O Hexo fornece o mecanismo de template Swig por padrão, mas você pode instalar plugins adicionais para suportar mecanismos alternativos, como EJS, Haml, Jade ou Pug
EN Hexo provides the Swig template engine by default, but you can easily install additional plugins to support alternative engines such as EJS, Haml, Jade, or Pug
português | inglês |
---|---|
fornece | provides |
mecanismo | engine |
template | template |
instalar | install |
alternativos | alternative |
jade | jade |
ou | or |
hexo | hexo |
PT O Hexo escolhe o mecanismo de template com base na extensão do arquivo deste
EN Hexo chooses the template engine based on the file extension of the template (just like the posts)
português | inglês |
---|---|
escolhe | chooses |
mecanismo | engine |
template | template |
extensão | extension |
hexo | hexo |
PT Diretório com os fontes do tema. Os assets (arquivos CSS e JavaScript por exemplo) ficam aqui. O Hexo ignora arquivos ocultos e arquivos ou diretórios com prefixo _ (sublinhado).
EN Source folder. Place your assets (e.g. CSS and JavaScript files) here. Hexo ignores hidden files and files or folders prefixed with _ (underscore).
português | inglês |
---|---|
fontes | source |
assets | assets |
css | css |
javascript | javascript |
aqui | here |
ocultos | hidden |
ou | or |
hexo | hexo |
PT O Hexo processará e salvará todos os arquivos renderizáveis no diretório public. Os arquivos não renderizáveis serão copiados diretamente para o diretório public.
EN Hexo will process and save all renderable files to the public folder. Non-renderable files will be copied to the public folder directly.
português | inglês |
---|---|
public | public |
serão | will be |
diretamente | directly |
hexo | hexo |
processar | process |
salvar | save |
PT Se o Hexo encontar qualquer categoria definida dessa forma em uma postagem, ele tratará cada categoria para essa postagem com sua própria hierarquia independente.
EN If Hexo sees any categories defined this way on a post, it will treat each category for that post as its own independent hierarchy.
português | inglês |
---|---|
se | if |
definida | defined |
forma | way |
postagem | post |
hierarquia | hierarchy |
independente | independent |
hexo | hexo |
tratar | treat |
PT Primeiramente, instale o plugin hexo-migrator-rss.
EN First, install the hexo-migrator-rss plugin.
português | inglês |
---|---|
primeiramente | first |
instale | install |
o | the |
plugin | plugin |
PT Alguns plugins foram criados pela comunidade para abordar esta questão no Hexo 2
EN Plugins have been created by the community to address this issue in Hexo 2
português | inglês |
---|---|
plugins | plugins |
criados | created |
comunidade | community |
abordar | address |
questão | issue |
hexo | hexo |
PT No entanto, com o lançamento do Hexo 3, várias novas tag plugins foram adicionadas ao seu núcleo
EN However, with the release of Hexo 3, several new tag plugins were added to core
português | inglês |
---|---|
o | the |
lançamento | release |
várias | several |
novas | new |
tag | tag |
plugins | plugins |
foram | were |
adicionadas | added |
ao | to |
núcleo | core |
hexo | hexo |
PT Primeiro, instale o plugin hexo-migrator-wordpress.
EN First, install the hexo-migrator-wordpress plugin.
português | inglês |
---|---|
instale | install |
plugin | plugin |
PT Primeiro, instale o plugin hexo-migrator-joomla.
EN First, install the hexo-migrator-joomla plugin.
português | inglês |
---|---|
instale | install |
plugin | plugin |
PT Se o seu tema for extremamente complexo ou se o número de arquivos a serem gerados for muito grande, o desempenho da geração de arquivos do Hexo pode começar a diminuir consideravelmente
EN If your theme is exceedingly complex or if the number of files to generate becomes too large, Hexo’s file generation performance may begin to decrease considerably
português | inglês |
---|---|
se | if |
tema | theme |
complexo | complex |
serem | is |
grande | large |
desempenho | performance |
pode | may |
começar | begin |
diminuir | decrease |
consideravelmente | considerably |
hexo | hexo |
PT Quando o servidor estiver sendo executado, o Hexo assistirá por alterações nos arquivos do projeto e atualizará automaticamente a página, por isso não é necessário reiniciar manualmente o servidor.
EN When the server is running, Hexo will watch for file changes and update automatically so it’s not necessary to manually restart the server.
português | inglês |
---|---|
arquivos | file |
automaticamente | automatically |
necessário | necessary |
reiniciar | restart |
manualmente | manually |
hexo | hexo |
assistir | watch |
PT No modo estático, somente arquivos do diretório public serão servidos e nenhum arquivo será assistido por mudanças. Você deve executar hexo generate antes de iniciar o servidor. Em geral, é desta forma que o site é servido em produção.
EN In static mode, only files in the public folder will be served and file watching is disabled. You have to run hexo generate before starting the server. Usually used in production.
português | inglês |
---|---|
estático | static |
você | you |
iniciar | starting |
produção | production |
hexo | hexo |
PT O Hexo executa o servidor em 0.0.0.0 por padrão. Você pode substituir a configuração de IP padrão.
EN Hexo runs the server at 0.0.0.0 by default. You can override the default IP setting.
português | inglês |
---|---|
executa | runs |
você | you |
configuração | setting |
ip | ip |
hexo | hexo |
PT Existem três layouts padrões no Hexo: post, page e draft. Os arquivos criados por cada um deles são salvos em um caminho diferente. As postagens criadas recentemente são salvas no diretório source/_posts.
EN There are three default layouts in Hexo: post, page and draft. Files created by each of them is saved to a different path. Newly created posts are saved to the source/_posts folder.
português | inglês |
---|---|
layouts | layouts |
salvos | saved |
diferente | different |
recentemente | newly |
source | source |
hexo | hexo |
PT Anteriormente, mencionamos um layout especial no Hexo: draft
EN Previously, we mentioned a special layout in Hexo: draft
português | inglês |
---|---|
anteriormente | previously |
um | a |
layout | layout |
especial | special |
no | in |
hexo | hexo |
Mostrando 50 de 50 traduções