Modificação para rodar no servidor

This commit is contained in:
fls committed 2026-11-10 14:18:43 -03:00
1 parent 57854280a4
commit d528760c62
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
.DEFAULT_GOAL := serve
.DEFAULT_GOAL := build
.PHONY: serve build clean check push
@@ -6,7 +6,7 @@ serve: ## Run local development server with live reloading and drafts enabled
bundle exec jekyll serve --livereload --drafts --trace
build: ## Build the production-ready static site
JEKYLL_ENV=production bundle exec jekyll build --trace --destination ~/public_html/exemplo-compmus
JEKYLL_ENV=production bundle exec jekyll build --trace --destination /var/www/html/exemplos-compmus
clean: ## Remove generated site and Jekyll cache files
bundle exec jekyll clean
+1 -1
View File
@@ -22,7 +22,7 @@ title: Diretório de exemplos de computação musical
#email: your-email@example.com
description: >- # this means to ignore newlines until "baseurl:"
Este site guarda exemplos de código de computação musical. Aproveite!
baseurl: "" # the subpath of your site, e.g. /blog
baseurl: "/exemplos-compmus/" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http://example.com
#twitter_username: jekyllrb
#github_username: jekyll
+1 -1
View File
@@ -11,7 +11,7 @@ Códigos disponíveis em nosso site:
{% for code in site.examples %}
<h2>
<a href="{{ code.url }}">
<a href="{{site.baseurl}}{{ code.url }}">
{{ code.name }}
</a>
</h2>