Comments (14)
Sure, here: https://github.com/tiagojacinto/tgjcnt
from ter.
Hmm I'm not sure what exactly the translation would be in this case. 99% of text on the pages is user's content.
Can you give a specific example?
from ter.
Yes, there are only a few strings that can be translated, like "Child pages" or "Child Tags". Since there aren't much more, perhaps this could be directly translated by the user in config.json? Also, the date format could be added as an option as well. What do you think?
from ter.
from ter.
That's perfect, awesome :)
from ter.
The date formatting should be configurable in the latest release. Here's the config example: https://ter.kkga.me/usage#options.
For Portuguese you can use pt
(https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes)
Let me know if it works as intended for you.
from ter.
I can't seem to use Ter 0.8.0, I get this error:
error: Uncaught TypeError: Cannot convert undefined or null to object return handleCache(template, options)(data, options); ^ at Function.keys (<anonymous>) at eval (eval at compile (https://deno.land/x/[email protected]/compile.ts:24:16), <anonymous>:57:8) at render (https://deno.land/x/[email protected]/render.ts:90:42) at buildPage (https://deno.land/x/[email protected]/build.ts:101:16) at buildContentFiles (https://deno.land/x/[email protected]/files.ts:61:24) at async Promise.all (index 0) at async generateSite (https://deno.land/x/[email protected]/main.ts:116:59) at async main (https://deno.land/x/[email protected]/main.ts:216:3)
from ter.
hmm... hard to say what went wrong here. Can you try running with -r
flag to make sure it reloads all dependencies?
deno run -A -r --unstable https://deno.land/x/ter/main.ts
from ter.
WHen I run that command, this happens:
error: Uncaught TypeError: Cannot convert undefined or null to object return handleCache(template, options)(data, options); ^ at Function.keys (<anonymous>) at eval (eval at compile (https://deno.land/x/[email protected]/compile.ts:24:16), <anonymous>:57:8) at render (https://deno.land/x/[email protected]/render.ts:90:42) at buildPage (https://deno.land/x/[email protected]/build.ts:101:16) at buildContentFiles (https://deno.land/x/[email protected]/files.ts:61:24) at async Promise.all (index 0) at async generateSite (https://deno.land/x/[email protected]/main.ts:116:59) at async main (https://deno.land/x/[email protected]/main.ts:216:3)
from ter.
If run this command: deno run -A -r --unstable https://deno.land/x/[email protected]/main.ts --serve
It works, both generating _site and --serve.
But it does not work if I use "[email protected]".
from ter.
Is there any chance I can try debugging this with your content/config? Do you have a published site or a source git repo?
from ter.
Thanks for sharing. This was helpful as I found the issue.
I'll push an update soon, but in the meantime if you want to build a site with 0.8.0, just add an empty navigation
object in the config.json
:
{
"navigation": {}
}
from ter.
New release should work (without having to adjust config file): https://github.com/kkga/ter/releases/tag/0.8.1
Thanks ππΌ
from ter.
I confirm that it is working!
Thanks!
from ter.
Related Issues (20)
- RSS feed not working? HOT 4
- per-index atom feeds HOT 1
- document using `--local` flag with custom view
- 404 page
- Strip page title from rendered html and add title in template
- Parse date from filename
- Add optional footer template HOT 1
- table of contents can't handle markdown links
- no export named 'mauve' HOT 2
- Generate sitemap HOT 3
- Differentiate internal and external links HOT 3
- Page preview card on hover HOT 1
- Deno deploy action needs upgrade to latest Deno version HOT 2
- An empty project example with sane defaults for CI in GitHub Actions and CD to GitHub Pages HOT 11
- icon data URI does not display in Firefox
- Sort page according to its name HOT 1
- Incorrectly index when folder name is not English HOT 4
- Header breadcrumb is not looking good when the url is long
- `og:description` has an additional $
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ter.