To display a live diagram, the site needs either a build step that turns the PlantUML source into SVG before publishing, or a browser-side renderer that loads the source and draws it at view time.
For permanent pages, the build-time SVG path is usually the best fit. It keeps the page stable, avoids script dependencies, and makes the diagram part of the published page rather than a runtime request.